Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit def5102

Browse files
committed
fix(site): allocate more memory to prevent oom
1 parent b4959c0 commit def5102

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "AGPL-3.0",
77
"scripts": {
88
"postinstall": "yarn typegen",
9-
"build": "NODE_ENV=production yarn vite build",
9+
"build": "NODE_ENV=production NODE_OPTIONS=--max-old-space-size=8192 yarn vite build",
1010
"check:all": "yarn format:check && yarn lint && yarn test",
1111
"chromatic": "chromatic",
1212
"dev": "vite",

0 commit comments

Comments
 (0)