Skip to content
This repository has been archived by the owner on Nov 16, 2018. It is now read-only.

ip not defined #9

Open
tzhong opened this issue Sep 12, 2016 · 2 comments
Open

ip not defined #9

tzhong opened this issue Sep 12, 2016 · 2 comments

Comments

@tzhong
Copy link

tzhong commented Sep 12, 2016

branch: step5_hot_reloading
issue: config.ip is not defined in server.js
ip should be added to config in webpack.local.config.js

Great tutorial!

@bhaskar-c
Copy link

I had the same issue. Had to add a line to webpack.local.config.js -

config.ip = ip

And then it worked perfectly.

@tssan
Copy link

tssan commented Aug 13, 2018

I'm using "webpack": "^4.16.5" and it is not allowed anymore to set custom options in config. You can create extra file wit constants like ip or use node process.env.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants