diff --git a/next.config.js b/next.config.js index e8de2ce..1ba0283 100644 --- a/next.config.js +++ b/next.config.js @@ -20,6 +20,9 @@ const nextConfig = { scrollRestoration: true, }, pageExtensions: ["js", "jsx", "ts", "tsx", "md", "mdx"], + images: { + formats: ["image/avif", "image/webp"], + }, }; module.exports = withMDX(nextConfig);