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 dd8a6a6 commit 2d0c725Copy full SHA for 2d0c725
lib/config-generator.js
@@ -328,7 +328,7 @@ class ConfigGenerator {
328
329
if (this.webpackConfig.imageRuleOptions.enabled) {
330
rules.push(generateAssetRuleConfig(
331
- /\.(png|jpg|jpeg|gif|ico|svg|webp)$/,
+ /\.(png|jpg|jpeg|gif|ico|svg|webp|avif)$/,
332
this.webpackConfig.imageRuleOptions,
333
this.webpackConfig.imageRuleCallback,
334
'images'
0 commit comments