fix: clean netlify.toml for Next.js deployment

This commit is contained in:
2026-06-01 19:42:29 +00:00
parent 53a9671461
commit ca864e61a0
+4 -2
View File
@@ -1,8 +1,10 @@
[build] [build]
command = "git config --global submodule.recurse false && git submodule deinit --all 2>/dev/null; rm -rf .git/modules 2>/dev/null; npm run build" command = "npm run build"
publish = ".next" publish = ".next"
[build.environment] [build.environment]
NODE_VERSION = "20" NODE_VERSION = "20"
NEXT_TELEMETRY_DISABLED = "1" NEXT_TELEMETRY_DISABLED = "1"
GIT_LFS_ENABLED = "false"
[[plugins]]
package = "@netlify/plugin-nextjs"