You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 2, 2019. It is now read-only.
It looks like this gem breaks when using multiple chunks.
The fix seems to be to change Webpack::Rails::Manifest.asset_paths to the following implenentation —
defasset_paths(source)raiseWebpackError,manifest["errors"]unlessmanifest_bundled?ifmanifest["entrypoints"][source] && paths=manifest["entrypoints"][source]['assets']# # Can be either a string or an array of strings.# # Do not include source maps as they are not javascript[paths].flatten.reject{ |p| p =~ /.*\.map$/}.mapdo |p|
"/#{::Rails.configuration.webpack.public_path}/#{p}"endelseraiseEntryPointMissingError,"Can't find entry point '#{source}' in webpack manifest"endend
The text was updated successfully, but these errors were encountered:
It looks like this gem breaks when using multiple chunks.
The fix seems to be to change
Webpack::Rails::Manifest.asset_paths
to the following implenentation —The text was updated successfully, but these errors were encountered: