set 6GB as max node memory usage while building dashboard (#3666)

This commit is contained in:
Krzysztof Żuraw 2023-05-19 13:53:08 +02:00 committed by GitHub
parent 531dd236f2
commit ea5b6a80a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",