Skip to content

Commit 3cafa4f

Browse files
authored
Update index.js (#29758)
1 parent 3d8a7db commit 3cafa4f

File tree

1 file changed

+3
-0
lines changed
  • packages/gatsby-plugin-sharp/src

1 file changed

+3
-0
lines changed

packages/gatsby-plugin-sharp/src/index.js

+3
Original file line numberDiff line numberDiff line change
@@ -617,6 +617,9 @@ async function fluid({ file, args = {}, reporter, cache }) {
617617
case `webp`:
618618
srcSetType = `image/webp`
619619
break
620+
case `avif`:
621+
srcSetType = `image/avif`
622+
break
620623
case ``:
621624
case `no_change`:
622625
default:

0 commit comments

Comments
 (0)