Commit 873bb935 authored by 田翔's avatar 田翔

fix: 报错信息显示

parent 80d50b7c
Pipeline #71395 passed with stages
......@@ -27,21 +27,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: threads, // 开启多进程
cache: true,
sourceMap: true,
......
......@@ -122,7 +122,7 @@
"js-calendar-converter": "0.0.4",
"lodash": "4.17.11",
"minimist": "1.2.0",
"panda-xform": "4.0.6",
"panda-xform": "^4.0.8",
"prop-types": "15.7.2",
"quill": "^1.3.7",
"rc-tween-one": "^3.0.6",
......
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