set 6GB as max node memory usage while building dashboard (#3666)
This commit is contained in:
parent
531dd236f2
commit
ea5b6a80a5
1 changed files with 2 additions and 2 deletions
|
@ -293,9 +293,9 @@
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --host",
|
"dev": "vite --host",
|
||||||
"build": "cross-env NODE_OPTIONS=--max_old_space_size=16384 vite build",
|
"build": "cross-env NODE_OPTIONS=--max-old-space-size=6144 vite build",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"build-storybook": "cross-env NODE_OPTIONS=--max_old_space_size=16384 storybook build -o build/storybook",
|
"build-storybook": "cross-env NODE_OPTIONS=--max-old-space-size=6144 storybook build -o build/storybook",
|
||||||
"build-types": "node scripts/build-types.js",
|
"build-types": "node scripts/build-types.js",
|
||||||
"prebuild": "npm run build-types",
|
"prebuild": "npm run build-types",
|
||||||
"check-strict-null-errors": "tsc --noEmit --strictNullChecks | node scripts/count-strict-null-check-errors.js",
|
"check-strict-null-errors": "tsc --noEmit --strictNullChecks | node scripts/count-strict-null-check-errors.js",
|
||||||
|
|
Loading…
Reference in a new issue