This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 81
Weird configuration for dev_server.manifest_host in Rails config #56
Comments
I had trouble getting webpack-rails configs working correctly with Docker, but it's working now. Here's my setup in case anyone else is experiencing something similar:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi.
Please add information about Rails configuration options available.
It tooks me some time to find a proper way to configure rails with webpack host on 0.0.0.0.
It is not clear without analyzing sources.
And I think it's reasonable to set manifest_host/port default value to something like
proc { config.webpack.dev_server.host ||= 'localhost' }
instead of
localhost
, because in most cases dev_server.host and manifest_server.host are equal.Regards.
The text was updated successfully, but these errors were encountered: