summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-05-23 16:41:32 -0500
committerMike Greiling <mike@pixelcog.com>2017-05-23 16:41:32 -0500
commit550370753431f529879cc7c0c653f7d27bd10fde (patch)
treee8c56ec963456cbda72dc8067080449ccfaa5c96
parenta9c1925dbf6cfde9f94cf528decd17aec7d1f2ee (diff)
downloadgitlab-ce-550370753431f529879cc7c0c653f7d27bd10fde.tar.gz
drop HashedModuleIdsPlugin in favor of NamedModulesPlugin in all environments32835-stop-using-webpack-hashedmoduleidsplugin-in-production
-rw-r--r--config/webpack.config.js6
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({