mirror of https://github.com/sualko/cloud_bbb
fix: image loader for webpack 5
parent
c1e42a836e
commit
ff91186b42
|
@ -59,10 +59,9 @@ module.exports = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
test: /\.(png|jpg|gif|svg)$/,
|
test: /\.(png|jpg|gif|svg)$/,
|
||||||
loader: 'url-loader',
|
type: 'asset',
|
||||||
options: {
|
generator: {
|
||||||
name: '[name].[ext]?[hash]',
|
filename: 'static/[name][ext]?[hash]',
|
||||||
limit: 8192,
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue