Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-08 16:42:24 +0300
committerMike Greiling <mike@pixelcog.com>2017-08-15 08:06:11 +0300
commit60ed4aa568889e869b0e447dffdd1af7bbb51cae (patch)
tree70c877b12fd791591d232248f434f7b7531a917b /config
parenteb03da693c57327df1426eb3057af252bfd299f6 (diff)
enable webpack scope hoisting
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js3
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([
{