I have two folders src/images/
and src/images/icons
.
All favicons are in png
format.
In src/images/icons
I put all the favicons for different devices, which I want to be webpacked to wwwroot/images/icons
and all other images to wwwroot/images
.
How can I separate images and favicons?
Now for images I have:
{
test: /\.(png|ico|svg|jpg|gif)$/,
use: [
'file-loader?name=/images/[name].[ext]'
]
},
But this would copy all images to dist\images
, including the icons, which should be one level deeper in folder dist\images\icons