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

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

parent 49b95372
...@@ -25,13 +25,13 @@ module.exports = require('./webpack.base.babel')({ ...@@ -25,13 +25,13 @@ module.exports = require('./webpack.base.babel')({
minimizer: [ minimizer: [
new TerserPlugin({ new TerserPlugin({
terserOptions: { terserOptions: {
warnings: false, // warnings: false,
compress: { // compress: {
comparisons: false, // comparisons: false,
drop_console: true, // drop_console: true,
drop_debugger: true, // drop_debugger: true,
pure_funcs: ['console.log'], //移除console // pure_funcs: ['console.log'], //移除console
}, // },
parse: {}, parse: {},
mangle: true, mangle: true,
output: { 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