I want to load my svg via the file-loader
with webpack. Is this even possible and if yes, how do I do that.
webpack.config.js
test: /\.(jpe?g|png|gif|svg)$/i,
use: [
{
loader: 'file-loader',
options: {
name:'[name].[ext]',
outputPath: 'img/',
publicPath: '../',
}
}
]