ua-parser-js icon indicating copy to clipboard operation
ua-parser-js copied to clipboard

Please add support for ES2015

Open iztokb opened this issue 3 years ago • 1 comments

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

iztokb avatar Aug 20 '20 08:08 iztokb

I second this request. Thank you.

siir avatar Nov 16 '21 17:11 siir

I guess there's no hope for this. Is there any other modern package that can do the same thing?

alfaproject avatar Feb 02 '23 10:02 alfaproject

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.

mxdvl avatar Mar 09 '23 09:03 mxdvl