1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-05 11:18:42 +08:00

add HashedModuleIdsPlugin

This commit is contained in:
Pan 2017-08-04 16:04:14 +08:00
parent 391e7703ed
commit 17ada3c65e

View File

@ -72,6 +72,8 @@ var webpackConfig = merge(baseWebpackConfig, {
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
chunksSortMode: 'dependency'
}),
// cache Module Identifiers
new webpack.HashedModuleIdsPlugin(),
// split vendor js into its own file
new webpack.optimize.CommonsChunkPlugin({
name: 'vendor',