fix: build error & try add NEXT_PRIVATE_MAX_WORKER_THREADS=2

This commit is contained in:
javayhu 2025-05-06 00:42:31 +08:00
parent 1847ef4363
commit f1537e305a

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "concurrently \"content-collections watch\" \"next dev\"",
"build": "content-collections build && next build",
"build": "content-collections build && NEXT_PRIVATE_MAX_WORKER_THREADS=2 next build",
"start": "next start",
"lint": "biome check --write .",
"lint:fix": "biome check --fix --unsafe .",
@ -149,4 +149,4 @@
"typescript": "^5",
"wrangler": "^4.14.1"
}
}
}