diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-05-23 16:41:32 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-05-23 16:41:32 -0500 |
commit | 550370753431f529879cc7c0c653f7d27bd10fde (patch) | |
tree | e8c56ec963456cbda72dc8067080449ccfaa5c96 /config/webpack.config.js | |
parent | a9c1925dbf6cfde9f94cf528decd17aec7d1f2ee (diff) | |
download | gitlab-ce-550370753431f529879cc7c0c653f7d27bd10fde.tar.gz |
drop HashedModuleIdsPlugin in favor of NamedModulesPlugin in all environments32835-stop-using-webpack-hashedmoduleidsplugin-in-production
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r-- | config/webpack.config.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 7bc225968de..42024739fe9 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -126,10 +126,8 @@ var config = { jQuery: 'jquery', }), - // use deterministic module ids in all environments - IS_PRODUCTION ? - new webpack.HashedModuleIdsPlugin() : - new webpack.NamedModulesPlugin(), + // use deterministic module ids + new webpack.NamedModulesPlugin(), // create cacheable common library bundle for all vue chunks new webpack.optimize.CommonsChunkPlugin({ |