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:
parent
3d738d5eb7
commit
867004af6b
|
|
@ -1,5 +1,6 @@
|
|||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output: 'export',
|
||||
eslint: {
|
||||
ignoreDuringBuilds: true,
|
||||
},
|
||||
|
|
@ -11,4 +12,4 @@ const nextConfig = {
|
|||
},
|
||||
}
|
||||
|
||||
export default nextConfig
|
||||
export default nextConfig
|
||||
|
|
|
|||
Loading…
Reference in New Issue