Skip to content

Commit

Permalink
Add support for AVIF and WebP image formats
Browse files Browse the repository at this point in the history
  • Loading branch information
walnuts1018 committed Jan 19, 2024
1 parent 3a91845 commit 25efe42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ const nextConfig = {
},
]
},
images: {
formats: ['image/avif', 'image/webp'],
},
}

module.exports = nextConfig

0 comments on commit 25efe42

Please sign in to comment.