self-improving-agent / netlify.toml
Zeetay
build: set Netlify publish to .next (base-relative)
464c9fb
Raw
History Blame Contribute Delete
514 Bytes
# 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"