diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-08-08 08:42:24 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-08-15 00:06:11 -0500 |
commit | 60ed4aa568889e869b0e447dffdd1af7bbb51cae (patch) | |
tree | 70c877b12fd791591d232248f434f7b7531a917b /config | |
parent | eb03da693c57327df1426eb3057af252bfd299f6 (diff) | |
download | gitlab-ce-60ed4aa568889e869b0e447dffdd1af7bbb51cae.tar.gz |
enable webpack scope hoisting
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([ { |