I just spend hours looking for a solution why my woff font files didn't get loaded.
Turns out, in the latest webpack.dev.js file in the postCSS loader config you disable the url()function of CSS: https://webpack.js.org/loaders/css-loader/#url
Turning this on solved my issue. I guess this also disabled the use of background-image in CSS.
Is this a bug or a feature? And if the latter, why?
I just spend hours looking for a solution why my woff font files didn't get loaded. Turns out, in the latest webpack.dev.js file in the postCSS loader config you disable the
url()
function of CSS: https://webpack.js.org/loaders/css-loader/#urlTurning this on solved my issue. I guess this also disabled the use of background-image in CSS.
Is this a bug or a feature? And if the latter, why?