Skip to content

Commit c97b689

Browse files
update build command to prevent oom
1 parent d3b6484 commit c97b689

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"type": "module",
77
"scripts": {
88
"clean": "/bin/bash ./scripts/clean.sh",
9-
"build": "NODE_OPTIONS='--no-warnings' NODE_ENV='production' next build",
9+
"build": "NODE_OPTIONS=\"${NODE_OPTIONS:-} --no-warnings --max-old-space-size=4096\" NODE_ENV='production' next build",
1010
"dev": "next dev --port 3443",
1111
"fix": "bun lint && bun format",
1212
"lint": "eslint .",

0 commit comments

Comments
 (0)