Commit 264dea12 authored by gxkai's avatar gxkai

build: 调整

parent cff693d5
...@@ -39,10 +39,10 @@ module.exports = config => { ...@@ -39,10 +39,10 @@ module.exports = config => {
...webpackConfig, ...webpackConfig,
// mode: 'production', // mode: 'production',
devtool: 'nosources-cheap-module-source-map', devtool: 'nosources-cheap-module-source-map',
optimization: { // optimization: {
minimize: true, // minimize: true,
minimizer: [new TerserPlugin()] // minimizer: [new TerserPlugin()]
} // }
} }
} else { } else {
return webpackConfig return webpackConfig
......
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