Skip to content
Snippets Groups Projects
Unverified Commit 15a4773e authored by Mike Greiling's avatar Mike Greiling
Browse files

remove common_d3 bundle

parent fb38bc3f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -2,7 +2,6 @@
- page_title "Metrics for environment", @environment.name
- content_for :page_specific_javascripts do
= webpack_bundle_tag 'common_vue'
= webpack_bundle_tag 'common_d3'
 
.prometheus-container{ class: container_class }
.top-area
Loading
Loading
- @no_container = true
- page_title "Charts"
- content_for :page_specific_javascripts do
= webpack_bundle_tag('common_d3')
 
.repo-charts{ class: container_class }
%h4.sub-header
Loading
Loading
Loading
Loading
@@ -276,18 +276,6 @@ var config = {
},
}),
 
// create cacheable common library bundle for all d3 chunks
new webpack.optimize.CommonsChunkPlugin({
name: 'common_d3',
chunks: [
'monitoring',
'users',
],
minChunks: function (module, count) {
return module.resource && /d3-/.test(module.resource);
},
}),
// create cacheable common library bundles
new webpack.optimize.CommonsChunkPlugin({
names: ['main', 'common', 'webpack_runtime'],
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment