add : HashedModuleIdsPlugin
This commit is contained in:
parent
02f58e0eb3
commit
b2e3b556d6
|
@ -68,6 +68,8 @@ var webpackConfig = merge(baseWebpackConfig, {
|
||||||
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
|
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
|
||||||
chunksSortMode: 'dependency'
|
chunksSortMode: 'dependency'
|
||||||
}),
|
}),
|
||||||
|
// cache Module Identifiers
|
||||||
|
new webpack.HashedModuleIdsPlugin(),
|
||||||
// split vendor js into its own file
|
// split vendor js into its own file
|
||||||
new webpack.optimize.CommonsChunkPlugin({
|
new webpack.optimize.CommonsChunkPlugin({
|
||||||
name: 'vendor',
|
name: 'vendor',
|
||||||
|
|
Loading…
Reference in New Issue