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
When configuring external files via file-loader in the rules section, I would not expect the files to populate the manifest file with the entry name and the imported file. In the above example I would expect:
Importing an .svg file using file-loader with content hashes causes the manifest to override the entry name and appending the loaded file extension, in my case:
Thanks for opening an issue and for the reproduction. This is more likely due to how webpack reports assets in v5. I'll take a look when I'm able but feel free to take a peek and try at a PR.
Expected Behavior
When configuring external files via
file-loader
in therules
section, I would not expect the files to populate the manifest file with the entry name and the imported file. In the above example I would expect:Actual Behavior
Importing an
.svg
file usingfile-loader
with content hashes causes the manifest to override the entry name and appending the loaded file extension, in my case:Additional Information
My guess is that this has to do with the plugin matching the content hash and assuming the loaded assets are also entry points.
The text was updated successfully, but these errors were encountered: