diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-05-24 06:04:17 +0000 |
---|---|---|
committer | Tim Zallmann <tzallmann@gitlab.com> | 2017-05-24 06:04:17 +0000 |
commit | 34939c89324b856604b8ed55be5aaaec7ac0dd96 (patch) | |
tree | a940acd8b4729bd31ded4baba93754b961e20fc4 | |
parent | 34a6d80e1146b2e88a95f91c2bd84214f130d4c5 (diff) | |
parent | 550370753431f529879cc7c0c653f7d27bd10fde (diff) | |
download | gitlab-ce-34939c89324b856604b8ed55be5aaaec7ac0dd96.tar.gz |
Merge branch '32835-stop-using-webpack-hashedmoduleidsplugin-in-production' into 'master'
Resolve "Stop using `webpack.HashedModuleIdsPlugin` in production."
See merge request !11670
-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({ |