Skip to content

Commit 6949d53

Browse files
author
Ken Berkeley
committed
add AggressiveMergingPlugin
1 parent adf5266 commit 6949d53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

build/webpack.prod.conf.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ config.plugins.push(
4646
// 公共代码分离打包
4747
names: ['vendor', 'mainifest']
4848
}),
49+
new webpack.optimize.AggressiveMergingPlugin(),
4950
new ExtractTextPlugin('[name].[contenthash:6].css', {
5051
allChunks : true // 若要按需加载 CSS 则请注释掉该行
5152
}),

0 commit comments

Comments
 (0)