@@ -24,14 +24,16 @@ module.exports={
rules:[
{
test: /\.html \)/,
- use: 'html-loader',
- options: {
- sources: {
- list: [
- { tag: 'img', attribute: 'src', type: 'src' }
- ]
+ use: [{
+ loader:'html-loader',
+ options: {
+ sources: {
+ list: [
+ { tag: 'img', attribute: 'src', type: 'src' }
+ ]
+ }
}
- }
+ }]
},
test:/\.css$/i,