Skip to content

Commit 92714ea

Browse files
committed
Fix heap space issue when building
1 parent 901f0e9 commit 92714ea

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
@@ -4,7 +4,7 @@
44
"license": "MIT",
55
"private": true,
66
"scripts": {
7-
"build": "yarn build:deps && yarn build:prod",
7+
"build": "NODE_OPTIONS=\"--max-old-space-size=4096\" yarn build:deps && yarn build:prod",
88
"build:prod": "lerna run build --scope homepage --stream && lerna run build --scope app --stream && gulp",
99
"build:clean": "lerna run build:clean --scope app --scope homepage && rimraf www",
1010
"build:deps": "lerna run build:dev --scope codesandbox-api --scope codesandbox-browserfs",

0 commit comments

Comments
 (0)