Commit e951fa9d authored by Clement Ho's avatar Clement Ho Committed by Mike Greiling

Remove unnecessary chunks from common_vue

parent daa0c929
...@@ -224,23 +224,12 @@ const config = { ...@@ -224,23 +224,12 @@ const config = {
new webpack.optimize.CommonsChunkPlugin({ new webpack.optimize.CommonsChunkPlugin({
name: 'common_vue', name: 'common_vue',
chunks: [ chunks: [
'boards',
'deploy_keys',
'environments',
'filtered_search',
'groups',
'monitoring', 'monitoring',
'mr_notes', 'mr_notes',
'notebook_viewer', 'notebook_viewer',
'pdf_viewer', 'pdf_viewer',
'pipelines',
'pipelines_details',
'registry_list', 'registry_list',
'ide', 'ide',
'schedule_form',
'schedules_index',
'sidebar',
'vue_merge_request_widget',
], ],
minChunks: function(module, count) { minChunks: function(module, count) {
return module.resource && (/vue_shared/).test(module.resource); return module.resource && (/vue_shared/).test(module.resource);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment