background:
the packing speed of the project is now very slow. Check the Internet about the method of optimizing the packing speed. It is said that the packing speed is obviously fast by using webpack-parallel-uglify-plugin
instead of webpack.optimize.UglifyJsPlugin
. After installing webpack-parallel-uglify-plugin
, re-npm start, only does these two operations, first
npm i webpack-parallel-uglify-plugin
then did not change any code
npm start
found that an error was reported in the console