question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Client-side support

See original GitHub issue

Hi! I have a problem with running your lib on client side. I need to detect if current browser is supported or not and notify the user if not. I’ve tried to compile it with webpack but one of it’s dependencies uses native node.js modules (to be more specific it’s useragent) and it either not compile or takes a lot of unnecessary code to the bundle. Do you have any workaround how to use your lib in browser? Maybe I’m doing something wrong.

Thanks.

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:21
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
vidal7commented, Jun 12, 2018

Including browserlist-useragent in the webpack’s bundle adds 400kb gzipped and almost 3mb unzipped. It is definitely not thinked to be executed client side.

4reactions
hwclasscommented, Jun 8, 2018

Hi guys,

I’ve tried to run it in a client application bundled via browserify and got the following:

screenshot 2018-06-08 18 16 25
Read more comments on GitHub >

github_iconTop Results From Across the Web

What do client side and server side mean? - Cloudflare
In web development, 'client side' refers to everything in a web application that is displayed or takes place on the client (end user...
Read more >
UKG Pro Client Side Support - Mosaic Consulting Group
Full Suite Client Side Launch Support. Mosaic's exclusive focus on UKG is your key to a successful Launch. An Implementation With No Surprises:...
Read more >
Client-side - Wikipedia
Client -side refers to operations that are performed by the client in a client–server relationship in a computer network.
Read more >
Client-Side vs. Server-Side: What's the Difference? | Indeed.com
Client -side and server-side development are two important concepts in software and web development. These types of development have many ...
Read more >
Client-side storage - Learn web development | MDN
Modern web browsers support a number of ways for websites to store data on the user's computer — with the user's permission —...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found