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-03-02 09:58:47 +0300
committerMike Greiling <mike@pixelcog.com>2017-03-04 01:47:38 +0300
commit5f464f98f1ff86caac02eca207704c1961b07be1 (patch)
tree1680ac2aa5a8a940d82066ba030d7e80db80f82e /config
parent7f22c39a25b5424ab1fd7905654667a697c82aeb (diff)
include vue_shared scripts within common_vue chunk
Diffstat (limited to 'config')
-rw-r--r--config/webpack.config.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index cdae80550dc..904ac36df4c 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -112,7 +112,9 @@ var config = {
'merge_conflicts',
'vue_pipelines',
],
- minChunks: Infinity,
+ minChunks: function(module, count) {
+ return module.resource && (/vue_shared/).test(module.resource);
+ },
}),
// create cacheable common library bundles