We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae7c5a5 commit 566c803Copy full SHA for 566c803
packages/@vue/cli-service/lib/config/assets.js
@@ -36,7 +36,7 @@ module.exports = (api, options) => {
36
api.chainWebpack(webpackConfig => {
37
webpackConfig.module
38
.rule('images')
39
- .test(/\.(png|jpe?g|gif|webp)(\?.*)?$/)
+ .test(/\.(png|jpe?g|gif|webp|avif)(\?.*)?$/)
40
.use('url-loader')
41
.loader(require.resolve('url-loader'))
42
.options(genUrlLoaderOptions('img'))
0 commit comments