Add svg loader

This commit is contained in:
Fred Carlsen
2018-11-28 13:17:48 +01:00
parent 3a9f8a7296
commit 6b4112527f
4 changed files with 130 additions and 2 deletions

View File

@@ -55,6 +55,10 @@ const config = {
test: /\.css$/,
loaders: ['style-loader', 'css-loader'],
},
{
test: /\.svg$/,
loaders: ['react-svg-loader'],
},
],
},
optimization: {