Closed gzzo closed 6 years ago
Hi @gzzo
Thanks for the PR. I see no problem with it, will merge it later this week.
However, I am just curious, how are you using this npm package? Webpack and other tools should be set up to convert it to ES5 thus fixing this issue automatically.
Can I ask what is your environment setup?
Thanks
@amertak Thanks! I use this package with webpack and babel. It's common practice to exclude node_modules when using babel-loader, so this package is giving me issues. Does that help? Happy to go into more detail.
Thanks, that makes sense.
Just want to point out, that we don't officially support IE (there is a feature detection in the code). https://www.smartlook.com/help/supported-browsers/
Releasing new version to NPM.
Thanks for help!
@gzzo Published to NPM at 3.1.1
@gzzo Rewrote it to typescript, added types. Should be now better to use with package managers.
Using const breaks compatibility on older IE browsers.