summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-02-16 16:49:13 -0600
committerMike Greiling <mike@pixelcog.com>2018-02-19 16:56:23 -0600
commit15a4773e06d91d57a80699818a7754e92e276b39 (patch)
tree596c5e4de8c153a418bbf76ba1205ed0bdd92f5f
parentfb38bc3faeee0d691f8f473cf5b32d356eabb43f (diff)
downloadgitlab-ce-15a4773e06d91d57a80699818a7754e92e276b39.tar.gz
remove common_d3 bundle
-rw-r--r--app/views/projects/environments/metrics.html.haml1
-rw-r--r--app/views/projects/graphs/charts.html.haml2
-rw-r--r--config/webpack.config.js12
3 files changed, 0 insertions, 15 deletions
diff --git a/app/views/projects/environments/metrics.html.haml b/app/views/projects/environments/metrics.html.haml
index 10812f67cbe..91b3743e9e7 100644
--- a/app/views/projects/environments/metrics.html.haml
+++ b/app/views/projects/environments/metrics.html.haml
@@ -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
diff --git a/app/views/projects/graphs/charts.html.haml b/app/views/projects/graphs/charts.html.haml
index efdb494e1ae..d4b4a6203f3 100644
--- a/app/views/projects/graphs/charts.html.haml
+++ b/app/views/projects/graphs/charts.html.haml
@@ -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
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 9bf9cee7aa8..31b29075d62 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -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'],