fix: adapt build config for Cloudflare Pages

Remove unsupported build section and Next.js files; add _routes.json for static site.

#VERCEL_SKIP

Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com>
This commit is contained in:
v0 2025-10-22 05:59:06 +00:00
parent 2c90c0c680
commit 3ccf13739a
5 changed files with 2 additions and 11 deletions

View File

@ -1 +0,0 @@
18

2
.npmrc
View File

@ -1,2 +0,0 @@
legacy-peer-deps=true
auto-install-peers=true

View File

@ -9,9 +9,6 @@ const nextConfig = {
images: {
unoptimized: true,
},
output: 'export',
trailingSlash: true,
distDir: 'out',
}
export default nextConfig
export default nextConfig

View File

@ -1,7 +1,4 @@
name = "ebb-n-flow-website"
compatibility_date = "2024-01-01"
pages_build_output_dir = "out"
[build]
command = "npm run build"
pages_build_output_dir = "."