首先,你需要安装 uglifyjs-webpack-plugin : $ npm install uglifyjs-webpack-plugin --save-dev. 然后把插件添加到你的 webpack 配置中。例如:. webpack.config.js
確定! 回上一頁