Client-side supportSee 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.
- Created 6 years ago
- Comments:8 (2 by maintainers)
Top GitHub Comments
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.
I’ve tried to run it in a client application bundled via browserify and got the following: