Commit 7d8c8e05 authored by gxkai's avatar gxkai

build: 加入打包压缩

parent 77767ec9
...@@ -43,7 +43,9 @@ module.exports = config => { ...@@ -43,7 +43,9 @@ module.exports = config => {
// devtool: 'nosources-cheap-module-source-map', // devtool: 'nosources-cheap-module-source-map',
optimization: { optimization: {
minimize: true, minimize: true,
minimizer: [new TerserPlugin()] minimizer: [new TerserPlugin({
parallel: false
})]
} }
} }
} else { } else {
......
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