Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Julien Jerphanion
Rex Dri
Commits
9c78f586
Commit
9c78f586
authored
Feb 21, 2019
by
Florent Chehab
Browse files
Fixed webpack stats capabilities
parent
147a17d0
Changes
3
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
9c78f586
...
...
@@ -58,6 +58,8 @@ services:
ports
:
# Replicate the node server port. More info in ./frontend/server.js
-
3000:3000
# replicate the view stats port
-
"
8888:8888"
documentation
:
build
:
./documentation
volumes
:
...
...
frontend/.gitignore
View file @
9c78f586
node_modules
webpack-stats.json
\ No newline at end of file
webpack-stats.json
stats.json
frontend/package.json
View file @
9c78f586
...
...
@@ -9,8 +9,8 @@
"dev"
:
"node server.js"
,
"build"
:
"webpack --config webpack.config.build.js"
,
"test"
:
"echo
\"
Error: no test specified
\"
&& exit 1"
,
"stats"
:
"webpack --
profile --json > frontend/static/frontend/
stats.json"
,
"view-stats"
:
"webpack-bundle-analyzer
frontend/static/frontend/
stats.json"
"stats"
:
"webpack --
config webpack.config.build.js --profile --json >
stats.json"
,
"view-stats"
:
"webpack-bundle-analyzer
--host 0.0.0.0 --port 8888
stats.json"
},
"repository"
:
{
"type"
:
"git"
,
...
...
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