feat: enable static export for Cloudflare Pages

Add `output: 'export'` to Next.js config for static deployment.

Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com>
This commit is contained in:
v0 2025-10-12 22:59:36 +00:00
parent 16e367d059
commit 59582c11bd
5 changed files with 9 additions and 8 deletions

View File

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

View File

@ -30,7 +30,7 @@
"@radix-ui/react-select": "2.1.4",
"@radix-ui/react-separator": "1.1.1",
"@radix-ui/react-slider": "1.2.2",
"@radix-ui/react-slot": "1.1.1",
"@radix-ui/react-slot": "latest",
"@radix-ui/react-switch": "1.1.2",
"@radix-ui/react-tabs": "1.1.2",
"@radix-ui/react-toast": "1.2.4",
@ -48,7 +48,7 @@
"input-otp": "1.4.1",
"lucide-react": "^0.454.0",
"next": "14.2.16",
"next-themes": "^0.4.6",
"next-themes": "latest",
"react": "^18",
"react-day-picker": "9.8.0",
"react-dom": "^18",

View File

@ -72,8 +72,8 @@ importers:
specifier: 1.2.2
version: 1.2.2(@types/react-dom@18.0.0)(@types/react@18.0.0)(react-dom@18.0.0(react@18.0.0))(react@18.0.0)
'@radix-ui/react-slot':
specifier: 1.1.1
version: 1.1.1(@types/react@18.0.0)(react@18.0.0)
specifier: latest
version: 1.2.3(@types/react@18.0.0)(react@18.0.0)
'@radix-ui/react-switch':
specifier: 1.1.2
version: 1.1.2(@types/react-dom@18.0.0)(@types/react@18.0.0)(react-dom@18.0.0(react@18.0.0))(react@18.0.0)
@ -126,7 +126,7 @@ importers:
specifier: 14.2.16
version: 14.2.16(react-dom@18.0.0(react@18.0.0))(react@18.0.0)
next-themes:
specifier: ^0.4.6
specifier: latest
version: 0.4.6(react-dom@18.0.0(react@18.0.0))(react@18.0.0)
react:
specifier: ^18