python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Webpack 5 use html-loader to load svgs
I recently upgraded to Webpack 5 and my html-loader no longer loads svg files and inlines them.
Here's my svg rule in webpack
{
test: /\.svg$/,
use: [
{
loader: 'html-loader',
op...

Christian Pavilonis
Votes: 0
Answers: 3
saving SCSS change causes webpack fail to load image file from HTML img tag (Webpack 5)
I just get this problem recently , but I can't figure out what is wrong with my webpack setting.
Every time I save my SCSS files (./src/scss/) change, and webpack do refresh the page (it is hot module...

Mizok.H
Votes: 0
Answers: 1