in lib/react/server_rendering/webpacker_manifest_container.rb [24:39]
def find_asset(logical_path)
asset_path = manifest.lookup(logical_path).to_s
if asset_path.start_with?('http')
dev_server_asset = URI.open(asset_path).read
dev_server_asset.sub!(CLIENT_REQUIRE, '//\0')
dev_server_asset
else
full_path = file_path(logical_path).to_s
File.read(full_path)
end
end