ua-parser-js
ua-parser-js copied to clipboard
Please add support for ES2015
Looks like that current version is available as CommonJS module only.
Angular build warn about this when building app. More here: https://web.dev/commonjs-larger-bundles/
Is it possible to release package as ES2015 module as well?
Br
I second this request. Thank you.
I guess there's no hope for this. Is there any other modern package that can do the same thing?
We had a specific use case where we needed this to work, and it’s possible to turn this into an ES Module by stripping away a few things.
I would be happy to help implement this here, or create a fork. My understanding of the MIT license is that it allows for modifications like this, so the burden does not fall on a single maintainer.