Commit 77b4c432 authored by 涂伟's avatar 涂伟

fix: '报错信息隐藏'

parent 970cdf1d
Pipeline #69698 waiting for manual action 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