Closed manojdcoder closed 6 years ago
@NathanaelA I think using let
breaks UglifyJs, any idea how to fix that?
This made a fix.
Hi @manojdcoder, can you please explain more on this fix
There were few plugins I used in my project followed ES6 syntax, Webpack's UglifyJS plugin understands only ES5. I had to install latest version of plugin which understands ES6.
More instructions on the Github repo: https://github.com/webpack-contrib/uglifyjs-webpack-plugin