feat: configure Next.js for static export on Cloudflare Pages

Add output: 'export' to next.config.mjs and set build command to npm run build with output directory out.

#VERCEL_SKIP

Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com>
This commit is contained in:
v0 2025-10-13 01:48:05 +00:00
parent 3d738d5eb7
commit 867004af6b
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
output: 'export',
eslint: {
ignoreDuringBuilds: true,
},