Skip to content Skip to sidebar Skip to footer

Webpack Not Finding Path Of Svg Css Backgrounds

The PNGs files works fine: .marker { background: url(../assets/marker.png) But when I change them to an SVG background: .marker { background: url(../assets/marker.svg) I get

Solution 1:

I would suggest using inline-svg-loader instead of file-loader for svg files.


Post a Comment for "Webpack Not Finding Path Of Svg Css Backgrounds"