Fix Storybook Build running out of memory (#7520)

Increases the node process memory to avoid `FATAL ERROR: Reached heap
limit Allocation failed - JavaScript heap out of memory` errors
This commit is contained in:
martmull
2024-10-09 11:08:53 +02:00
committed by GitHub
parent ae3054196d
commit 9b9e03fbf6
2 changed files with 3 additions and 1 deletions

View File

@ -67,7 +67,7 @@
"test": {},
"storybook:build": {
"options": {
"env": { "NODE_OPTIONS": "--max_old_space_size=6000" }
"env": { "NODE_OPTIONS": "--max_old_space_size=6500" }
}
},
"storybook:serve:dev": {