Commit 5d62caf5 authored by 邓超's avatar 邓超

fix: 打包配置修改查看报错问题

parent 49b95372
......@@ -25,13 +25,13 @@ module.exports = require('./webpack.base.babel')({
minimizer: [
new TerserPlugin({
terserOptions: {
warnings: false,
compress: {
comparisons: false,
drop_console: true,
drop_debugger: true,
pure_funcs: ['console.log'], //移除console
},
// warnings: false,
// compress: {
// comparisons: false,
// drop_console: true,
// drop_debugger: true,
// pure_funcs: ['console.log'], //移除console
// },
parse: {},
mangle: true,
output: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment