-
Notifications
You must be signed in to change notification settings - Fork 65
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No way to extend webpack-server options #104
Comments
i managed to get around this limitation (and my issue specifically) by doing the following:
|
Remaining issues around running webpack in docker are that watchOptions is not used due to the way
|
Considering
|
meh... anyway, can get x0 to listen to
Trouble is that webpack-hot-client or whatever it's called is now also hardcoded to try to connect to a server at |
🎉 |
Running my project in Docker with docker-compose.
webpack-serve only listens for requests on
127.0.0.1:$PORT
.If we could extend the config in lib/dev.js then i could specify the
host
option to be0.0.0.0
.This way the
webpack-serve
is listening to requests coming from outside my docker container.Here's how I'm running x0:
docker-compose.yml
docker-compose--build.yml
Dockerfile
package.json
The text was updated successfully, but these errors were encountered: