Closed fumblehool closed 6 years ago
@fumblehool problem in uglify-js
, please create issue in their repo
Also please create minimum reproducible test repo
@evilebottnawi Thanks for the quick reply! The issue was in uglifyjs-webpack-plugin
.
@fumblehool How did you solved it?
@vtni I was trying to extend functionality of an older project. It used uglifyjs-webpack-plugin@1.1.4
.
So I had to downgrade webpack to v3 and upgrade uglifyjs-webpack-plugin@1.1.4
to uglifyjs-webpack-plugin@1.3.0
As pointed out by @evilebottnawi , problem was in uglify-js. This problem is fixed in uglify-js@3.4.3
Expected Behavior
On running
webpack --config config/webpack.prod.aot.js --progress --profile --bail
It should build the dist filesActual Behavior
Getting Error -