This is the rule for the image loader
{
test: /\.(png|svg|jpg|gif)$/,
use: [
'file-loader'
]
},
This is the rule for the html loader
test: /\.html$/,
use: [
{
loader: "html-loader",
options: {
minimize: true
}
}
every other images are loaded fine, except for the inline background images
<div class="ms__slide" style="background-image: url('../images/slider-bg.jpg')">
</div>