diff options
author | Mike Greiling <mike@pixelcog.com> | 2017-03-02 00:58:47 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2017-03-03 16:47:38 -0600 |
commit | 5f464f98f1ff86caac02eca207704c1961b07be1 (patch) | |
tree | 1680ac2aa5a8a940d82066ba030d7e80db80f82e /config | |
parent | 7f22c39a25b5424ab1fd7905654667a697c82aeb (diff) | |
download | gitlab-ce-5f464f98f1ff86caac02eca207704c1961b07be1.tar.gz |
include vue_shared scripts within common_vue chunk
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 4 |
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 |