Skip to content

Commit fab70ed

Browse files
committed
add ModuleConcatenationPlugin in production
1 parent 4b8e00c commit fab70ed

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

template/build/webpack.prod.conf.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,9 @@ var webpackConfig = merge(baseWebpackConfig, {
8585
to: config.build.assetsSubDirectory,
8686
ignore: ['.*']
8787
}
88-
])
88+
]),
89+
90+
new webpack.optimize.ModuleConcatenationPlugin()
8991
]
9092
})
9193

0 commit comments

Comments
 (0)