Open felipemsantana opened 6 years ago
What's the issue? I'd welcome a PR to fix this issue.
For what it's worth, this library is meant to support Node 6 & up and current versions of the evergreen browsers.
It is not possible use this lib in webpack < 4 https://stackoverflow.com/questions/45870467/error-in-bundle-js-from-uglifyjs-name-expected
The usage of ES6 syntax in this lib is breaking in UglifyJS when bundling in webpack
And would fail to be parsed in old browsers