Spaces:
Sleeping
Sleeping
| # Netlify config for the Next.js frontend, which lives in web/. | |
| [build] | |
| base = "web" | |
| command = "npm run build" | |
| # Next's build output, relative to base (resolves to web/.next). Must differ | |
| # from base, or the Next plugin rejects publish == base. | |
| publish = ".next" | |
| [build.environment] | |
| NODE_VERSION = "20" | |
| # Official Next.js runtime (SSR/ISR/static + the App Router). Netlify installs | |
| # this automatically; listing it here makes the dependency explicit. | |
| [[plugins]] | |
| package = "@netlify/plugin-nextjs" | |