-
-
Notifications
You must be signed in to change notification settings - Fork 204
Closed
Milestone
Description
I'm submitting a bug report
The Example section addresses { test: /\.jpg$/, use: [ "file-loader" ] }, as a part of configuration file, but later on in a few places, e.g. <img src="image.png" data-src="image2x.png" > reference image.png is handles as it was image.jpg
For example:
require("html-loader!./file.html");
// => '<img src="http://cdn.example.com/49eba9f/a992ca.png"
// data-src="image2x.png">'
appears to be incorrect as with the current configuration PNG files are handled by url-loader, not by file-loader
Current behavior:
See above, in the description of the problem.
Expected/desired behavior:
The expected correction would replace image.png by image.jpg in all <img ...> tags.
Carrzw
Metadata
Metadata
Assignees
Labels
No labels