Closed IronSean closed 4 years ago
generate CSS like this (as it did in file-loader 4.x):
body { background: url(http://localhost:8080/dist/bce4508….png) #ffffff; }
generates CSS as
body { background: url([object Module]) #ffffff; }
The use of file-loader is completely default currently, I'm working on a repro below as the whole webpack config is quite large.
file-loader
I'm working on a repro I can provide.
update css-loader to latest version, or you can disable ES module syntax using esModule: false
esModule: false
Expected Behavior
generate CSS like this (as it did in file-loader 4.x):
Actual Behavior
generates CSS as
Code
The use of
file-loader
is completely default currently, I'm working on a repro below as the whole webpack config is quite large.How Do We Reproduce?
I'm working on a repro I can provide.