Skip to content

Commit

Permalink
Update index.js (#29758) (#29761)
Browse files Browse the repository at this point in the history
(cherry picked from commit 3cafa4f)

Co-authored-by: Hendra Gotara <hendra.gotara@gmail.com>
  • Loading branch information
GatsbyJS Bot and hendra-go committed Feb 25, 2021
1 parent 61bdabd commit 997985a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/gatsby-plugin-sharp/src/index.js
Expand Up @@ -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:
Expand Down

0 comments on commit 997985a

Please sign in to comment.