Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fractalis
fractal.js
Commits
91064fed
Commit
91064fed
authored
Mar 07, 2018
by
Sascha Herzinger
Browse files
Binding webpack dev server to 0.0.0.0 (for docker)
parent
1b7a06f2
Pipeline
#3890
passed with stages
in 4 minutes and 29 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
91064fed
...
...
@@ -14,7 +14,6 @@
},
"scripts"
:
{
"build"
:
"./node_modules/webpack/bin/webpack.js --config webpack.config.js --env production"
,
"devbuild"
:
"./node_modules/webpack/bin/webpack.js --config webpack.config.js"
,
"test"
:
"./node_modules/karma/bin/karma start karma.config.js"
,
"devserver"
:
"./node_modules/webpack-dev-server/bin/webpack-dev-server.js --config webpack.config.js"
},
...
...
webpack.config.js
View file @
91064fed
...
...
@@ -26,6 +26,8 @@ module.exports = {
],
devtool
:
'
#source-map
'
,
devServer
:
{
host
:
'
0.0.0.0
'
,
port
:
'
8080
'
,
hot
:
true
,
inline
:
true
,
publicPath
:
'
http://127.0.0.1:8080/
'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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