import type { NextConfig } from "next"; const nextConfig: NextConfig = { images: { // The source captures are 2560×1440 PNGs (~5 MB each). AVIF first keeps the // delivered gallery an order of magnitude smaller than WebP alone. formats: ["image/avif", "image/webp"], }, }; export default nextConfig;