Commit ecaeae7f authored by 涂伟's avatar 涂伟

fix: '报错信息恢复'

parent 65fadbec
Pipeline #69048 passed with stages
......@@ -24,21 +24,21 @@ module.exports = require('./webpack.base.babel')({
minimize: true,
minimizer: [
new TerserPlugin({
terserOptions: {
warnings: false,
compress: {
comparisons: false,
drop_console: true,
drop_debugger: true,
pure_funcs: ['console.log'], //移除console
},
parse: {},
mangle: true,
output: {
comments: false,
ascii_only: true,
},
},
// terserOptions: {
// warnings: false,
// compress: {
// comparisons: false,
// drop_console: true,
// drop_debugger: true,
// pure_funcs: ['console.log'], //移除console
// },
// parse: {},
// mangle: true,
// output: {
// comments: false,
// ascii_only: true,
// },
// },
parallel: true,
cache: true,
sourceMap: true,
......
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