use deterministic module IDs in production and development
This commit is contained in:
parent
312137c6a5
commit
02504f2f9c
1 changed files with 4 additions and 0 deletions
|
@ -83,6 +83,10 @@ var config = {
|
|||
assets: true
|
||||
}),
|
||||
new webpack.IgnorePlugin(/moment/, /pikaday/),
|
||||
// use deterministic module ids in all environments
|
||||
IS_PRODUCTION ?
|
||||
new webpack.HashedModuleIdsPlugin() :
|
||||
new webpack.NamedModulesPlugin(),
|
||||
],
|
||||
|
||||
resolve: {
|
||||
|
|
Loading…
Reference in a new issue