Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Jérome Perrin
gitlab-ce
Commits
15a4773e
Commit
15a4773e
authored
Feb 16, 2018
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove common_d3 bundle
parent
fb38bc3f
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
15 deletions
+0
-15
app/views/projects/environments/metrics.html.haml
app/views/projects/environments/metrics.html.haml
+0
-1
app/views/projects/graphs/charts.html.haml
app/views/projects/graphs/charts.html.haml
+0
-2
config/webpack.config.js
config/webpack.config.js
+0
-12
No files found.
app/views/projects/environments/metrics.html.haml
View file @
15a4773e
...
@@ -2,7 +2,6 @@
...
@@ -2,7 +2,6 @@
-
page_title
"Metrics for environment"
,
@environment
.
name
-
page_title
"Metrics for environment"
,
@environment
.
name
-
content_for
:page_specific_javascripts
do
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'common_vue'
=
webpack_bundle_tag
'common_d3'
.prometheus-container
{
class:
container_class
}
.prometheus-container
{
class:
container_class
}
.top-area
.top-area
...
...
app/views/projects/graphs/charts.html.haml
View file @
15a4773e
-
@no_container
=
true
-
@no_container
=
true
-
page_title
"Charts"
-
page_title
"Charts"
-
content_for
:page_specific_javascripts
do
=
webpack_bundle_tag
(
'common_d3'
)
.repo-charts
{
class:
container_class
}
.repo-charts
{
class:
container_class
}
%h4
.sub-header
%h4
.sub-header
...
...
config/webpack.config.js
View file @
15a4773e
...
@@ -276,18 +276,6 @@ var config = {
...
@@ -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
// create cacheable common library bundles
new
webpack
.
optimize
.
CommonsChunkPlugin
({
new
webpack
.
optimize
.
CommonsChunkPlugin
({
names
:
[
'
main
'
,
'
common
'
,
'
webpack_runtime
'
],
names
:
[
'
main
'
,
'
common
'
,
'
webpack_runtime
'
],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment