Skip to content

Commit f1d323b

Browse files
agnivadeLinusBorg
authored andcommitted
1 parent 883442b commit f1d323b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

template/build/webpack.prod.conf.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ const webpackConfig = merge(baseWebpackConfig, {
7373
}),
7474
// keep module.id stable when vender modules does not change
7575
new webpack.HashedModuleIdsPlugin(),
76+
// enable scope hoisting
77+
new webpack.optimize.ModuleConcatenationPlugin(),
7678
// split vendor js into its own file
7779
new webpack.optimize.CommonsChunkPlugin({
7880
name: 'vendor',

0 commit comments

Comments
 (0)