更新依赖

This commit is contained in:
lyswhut
2020-10-17 16:09:29 +08:00
parent dae6826cc1
commit 0f135e0587
5 changed files with 1120 additions and 1422 deletions
@@ -32,15 +32,11 @@ module.exports = merge(baseConfig, {
NODE_ENV: '"production"',
},
}),
new webpack.NamedChunksPlugin(),
],
optimization: {
chunkIds: 'named',
minimizer: [
new TerserPlugin({
cache: true,
parallel: true,
sourceMap: false, // set to true if you want JS source maps
}),
new TerserPlugin(),
new OptimizeCSSAssetsPlugin({}),
],
},