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)$/,
|
||||
loader: 'url-loader',
|
||||
options: {
|
||||
name: '[name].[ext]?[hash]',
|
||||
limit: 8192,
|
||||
type: 'asset',
|
||||
generator: {
|
||||
filename: 'static/[name][ext]?[hash]',
|
||||
},
|
||||
},
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue