Skip to content

Commit 91ac194

Browse files
committed
add max size to build
1 parent 141433c commit 91ac194

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"dev": "next dev",
77
"dev:fresh": "graphql-codegen --config ./config/codegen.ts && next dev",
88
"dev:turbo": "next dev --turbo",
9-
"build": "graphql-codegen --config ./config/codegen.ts && next build",
9+
"build": "graphql-codegen --config ./config/codegen.ts && NODE_OPTIONS='--max-old-space-size=4096' next build",
1010
"start": "next start",
1111
"lint": "eslint .",
1212
"generate": "graphql-codegen --config ./config/codegen.ts",

0 commit comments

Comments
 (0)