remove common_d3 bundle

This commit is contained in:
Mike Greiling 2018-02-16 16:49:13 -06:00
parent fb38bc3fae
commit 15a4773e06
No known key found for this signature in database
GPG key ID: 0303DF507FA67596
3 changed files with 0 additions and 15 deletions

View file

@ -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

View file

@ -1,7 +1,5 @@
- @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

View file

@ -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'],