//webpack.prod.conf.js
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
drop_debugger: true,
drop_console: true
},
sourceMap: true
}),
//webpack.prod.conf.js
new webpack.optimize.UglifyJsPlugin({
compress: {
warnings: false,
drop_debugger: true,
drop_console: true
},
sourceMap: true
}),
本文标题:vue-cli 打包过滤console.log
本文链接:https://www.haomeiwen.com/subject/xrncvftx.html
网友评论