import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", // App uses Chakra Image (plain to /public). Next Image Optimization // is unused and is the GHSA-2xp9-vwfh-vxw4 AVIF RCE surface. images: { unoptimized: true, }, experimental: { optimizePackageImports: ["@chakra-ui/react"], }, }; export default nextConfig;