UNPKG

create-saas-app-ai-chat

Version:

Create a production-ready AI SaaS with Next.js, Supabase, Stripe, and OpenRouter - 15+ AI models included

36 lines (30 loc) 976 B
import type { NextConfig } from "next"; const nextConfig: NextConfig = { serverExternalPackages: ["shiki"], // Enable standalone output for Docker/Cloud Run deployments // Temporarily disabled to avoid Windows symlink issues during development output: "standalone", eslint: { // Warning: This allows production builds to successfully complete even if // your project has ESLint errors. // ignoreDuringBuilds: true, }, // Performance Optimizations compress: true, // Enable gzip compression // Experimental features for better performance experimental: { optimizePackageImports: [ "lucide-react", "@radix-ui/react-icons", "recharts", "date-fns", ], }, // Image optimization images: { formats: ["image/avif", "image/webp"], deviceSizes: [640, 750, 828, 1080, 1200, 1920], imageSizes: [16, 32, 48, 64, 96, 128, 256, 384], }, }; export default nextConfig;