This enables the gem to read remote manifest.json which is served via HTTP. An example configuration is as below:
WebpackManifest::Rails.configuration do |c|
...
c.manifest = 'http://localhost:8080/packs/manifest.json'
...
end
The background of this enhancement is to supporting Hot Module Replacement by webpack-dev-server. manifest.json is served via HTTP, not from file system, by webpack-dev-server. Therefore, this should be useful.
This enables the gem to read remote manifest.json which is served via HTTP. An example configuration is as below:
The background of this enhancement is to supporting Hot Module Replacement by webpack-dev-server. manifest.json is served via HTTP, not from file system, by webpack-dev-server. Therefore, this should be useful.