fix: correct Cloudflare Pages build settings for Next.js static export
Update build command and output directory to generate `out` folder. #VERCEL_SKIP Co-authored-by: Jeff Emmett <46964190+Jeff-Emmett@users.noreply.github.com>
This commit is contained in:
parent
1af5d7c2cc
commit
c9db97b731
|
|
@ -0,0 +1 @@
|
|||
18
|
||||
|
|
@ -9,6 +9,9 @@ const nextConfig = {
|
|||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
output: 'export',
|
||||
trailingSlash: true,
|
||||
distDir: 'out',
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
|
|
|
|||
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"version": 1,
|
||||
"include": ["/*"],
|
||||
"exclude": []
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
name = "ebb-n-flow-website"
|
||||
compatibility_date = "2024-01-01"
|
||||
|
||||
pages_build_output_dir = "out"
|
||||
|
||||
[build]
|
||||
command = "npm run build"
|
||||
Loading…
Reference in New Issue