Closed 719media closed 4 years ago
Update css-loader to latest version or disable ES modules https://github.com/webpack-contrib/file-loader#esmodule
If it not solve your problem please open a new issue in css-loader with a reproducible test repo
Adding esModule: false to the loader worked. I'm not exactly sure why that has that effect, but I appreciate the help.
@evilebottnawi update css-loader not resolve this issue:"css-loader": "^3.5.3" only work with:esModule: false source:
<img src="~assets/abc.jpg" />
output:
<img data-v-b0d84c92="" src="[object Module]">
current file-loader:v6.0.0
Expected Behavior
Same output for compilation
Actual Behavior
Code
How Do We Reproduce?
Just use font awesome in your build. Like