fix: image loader for webpack 5

pull/204/head
sualko 2022-03-17 14:20:08 +01:00
parent c1e42a836e
commit ff91186b42
1 changed files with 3 additions and 4 deletions

View File

@ -59,10 +59,9 @@ module.exports = {
},
{
test: /\.(png|jpg|gif|svg)$/,
loader: 'url-loader',
options: {
name: '[name].[ext]?[hash]',
limit: 8192,
type: 'asset',
generator: {
filename: 'static/[name][ext]?[hash]',
},
},
],