diff --git a/packages/gatsby-plugin-sharp/src/index.js b/packages/gatsby-plugin-sharp/src/index.js index c2f10ddd51664..72b3c8c35206d 100644 --- a/packages/gatsby-plugin-sharp/src/index.js +++ b/packages/gatsby-plugin-sharp/src/index.js @@ -617,6 +617,9 @@ async function fluid({ file, args = {}, reporter, cache }) { case `webp`: srcSetType = `image/webp` break + case `avif`: + srcSetType = `image/avif` + break case ``: case `no_change`: default: