Answer the question
In order to leave comments, you need to log in
webpack. Sass-loader doesn't properly handle relative paths in url()?
In the sass file I specify
In the output css file:
Tried resolve-url-loader, does not help.background: url(../images/icons/image,png)
background: url(/public/images/icons/search.png)
use: extractSass.extract({
use: [
{
loader: "css-loader"
},
{
loader: "resolve-url-loader",
},
{
loader: "sass-loader",
}],
fallback: "style-loader"
}),
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question