Use url-loader to embed icons

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2019-10-16 14:40:12 +02:00
parent da87973b85
commit 7716fb6738
3 changed files with 87 additions and 1 deletions

View File

@@ -37,7 +37,7 @@ module.exports = {
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'file-loader',
loader: 'url-loader',
options: {
name: '[name].[ext]?[hash]'
}