Open youngjuning opened 5 years ago
webpack.config.js 的 plugins 里面加上 (vue cli创建项目在 webpack.prod.conf.js文件):
new webpack.optimize.UglifyJsPlugin({ compress: { warnings: false, drop_debugger: true, drop_console: true }, sourceMap: true }),
webpack.config.js 的 plugins 里面加上 (vue cli创建项目在 webpack.prod.conf.js文件):