import type { NextConfig } from "next"; const nextConfig: NextConfig = { compress: true, images: { formats: ["image/avif", "image/webp"], minimumCacheTTL: 60 * 60 * 24 * 30, remotePatterns: [ { protocol: "https", hostname: "ghchart.rshah.org", }, { protocol: "https", hostname: "i.ytimg.com", }, ], }, }; export default nextConfig;