You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
UglifyJS2 (also known as uglify-es, which supports ES6) is no longer maintained. It has been forked into Terser and webpack replaced uglifyjs-webpack-plugin with it for Webpack 5: webpack/webpack#8036
I suggest that Webpacker switches to Terser as well as the currently user Uglify version has many unfixed bugs (especially when using ES6 output).
The text was updated successfully, but these errors were encountered:
renchap
changed the title
Switch toterser-webpack-plugin
Switch to terser-webpack-plugin for JS minification
Oct 1, 2018
I'd encourage the webpacker team to switch over to terser as well. The reactteam has identified that uglify-es breaks the new React build (16.6) due to bugs in uglify-es (and that uglify-es seems deprecated). So you probably want to get off that package.
UglifyJS2 (also known as
uglify-es
, which supports ES6) is no longer maintained. It has been forked into Terser andwebpack
replaceduglifyjs-webpack-plugin
with it for Webpack 5: webpack/webpack#8036I suggest that Webpacker switches to Terser as well as the currently user Uglify version has many unfixed bugs (especially when using ES6 output).
The text was updated successfully, but these errors were encountered: