-
-
Notifications
You must be signed in to change notification settings - Fork 179
uglify-es is no longer maintained #349
Comments
Use https://github.com/webpack-contrib/terser-webpack-plugin, next major will be switched back to uglifyjs. webpack@5 will be use |
Also in near future will be release babel-minify-webpack-plugin (babel@7) |
Any updated advice for users at the end of 2018? I'm trying to switch to ES6 output and came across this issue while researching why it breaks my build. As far as I can tell I have latest (stable) webpack and Should I switch to one of these abandoned projects? Should I start using beta webpack, assuming there are decent builds of v5 available? Did the roadmap change again? |
@thw0rted webpack already use |
OK, I was manually specifying an instance of uglifyjs-webpack-plugin in my config so I have switched that out for an instance of terser-webpack-plugin, which seems to Just Work. Thanks! |
According to the maintainer
uglify-es
is no longer maintained and uglify-js does not support ES6+If we use Babel with preset-env and we target latest browsers, this will not work as expected, is it?
This is also used when webpack is in production mode, so might be a bit confusing in terms of your output. Considering that the main master branch is moving fwd with bug fixes and so on. Harmony is way behind of all this.
Is there any existing plan to move to something else?
The text was updated successfully, but these errors were encountered: