diff options
author | Jacob Schatz <jschatz@gitlab.com> | 2017-08-15 15:15:41 +0000 |
---|---|---|
committer | Jacob Schatz <jschatz@gitlab.com> | 2017-08-15 15:15:41 +0000 |
commit | d8b166846d47fcb394675fe69c0b9006dc2d0f7e (patch) | |
tree | f5e8f8789201198b2510d1ccada564bd9ffea234 /config | |
parent | bb9db75fcfa7ac632666682f2c45f0568a940608 (diff) | |
parent | 23cbc0573778c4c67e9d6ef7bce12f4ada5bc80c (diff) | |
download | gitlab-ce-d8b166846d47fcb394675fe69c0b9006dc2d0f7e.tar.gz |
Merge branch '36152-enable-scope-hoisting-with-webpack' into 'master'
Resolve "Enable scope hoisting with webpack"
Closes #36152
See merge request !13374
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 8e1b80cd39f..6a347c2e660 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -223,6 +223,9 @@ var config = { names: ['main', 'locale', 'common', 'webpack_runtime'], }), + // enable scope hoisting + new webpack.optimize.ModuleConcatenationPlugin(), + // copy pre-compiled vendor libraries verbatim new CopyWebpackPlugin([ { |