diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-02-28 01:08:18 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-02-28 01:08:18 -0600 |
commit | 6e49a757878ce24f9ef8c51f1f0c4f3e36a48081 (patch) | |
tree | bffc7f725f2cfd0891837320e89eab1822c8c026 | |
parent | 97112250e1062746611d524a0799743d4cb13470 (diff) | |
download | gitlab-ce-6e49a757878ce24f9ef8c51f1f0c4f3e36a48081.tar.gz |
remove common_vue from CommonsChunkPlugin
-rw-r--r-- | config/webpack.config.js | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 051bc7922e2..ceba31ae0c8 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -225,34 +225,6 @@ var config = { return `${moduleNames[0]}-${hash.substr(0, 6)}`; }), - // create cacheable common library bundle for all vue chunks - new webpack.optimize.CommonsChunkPlugin({ - name: 'common_vue', - chunks: [ - 'boards', - 'cycle_analytics', - 'deploy_keys', - 'environments', - 'filtered_search', - 'groups', - 'monitoring', - 'mr_notes', - 'notebook_viewer', - 'pdf_viewer', - 'pipelines', - 'pipelines_details', - 'registry_list', - 'ide', - 'schedule_form', - 'schedules_index', - 'sidebar', - 'vue_merge_request_widget', - ], - minChunks: function(module, count) { - return module.resource && (/vue_shared/).test(module.resource); - }, - }), - // create cacheable common library bundles new webpack.optimize.CommonsChunkPlugin({ names: ['main', 'common', 'webpack_runtime'], |