use deterministic module IDs in production and development

This commit is contained in:
Mike Greiling 2017-02-10 00:45:42 -06:00
parent 312137c6a5
commit 02504f2f9c

View file

@ -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: {