add HashedModuleIdsPlugin
This commit is contained in:
parent
391e7703ed
commit
17ada3c65e
1 changed files with 2 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue