summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-02 00:58:47 -0600
committerMike Greiling <mike@pixelcog.com>2017-03-03 16:47:38 -0600
commit5f464f98f1ff86caac02eca207704c1961b07be1 (patch)
tree1680ac2aa5a8a940d82066ba030d7e80db80f82e /config
parent7f22c39a25b5424ab1fd7905654667a697c82aeb (diff)
downloadgitlab-ce-5f464f98f1ff86caac02eca207704c1961b07be1.tar.gz
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