From 40cbd5942b6948aea58cfe6ec6c1802f18474c28 Mon Sep 17 00:00:00 2001 From: Vicki League Date: Thu, 3 Jul 2025 14:09:42 -0400 Subject: [PATCH] [UIF] increase memory limit for local storybook npm command (#15460) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b522113876c..f45b04c06e9 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "test:locales": "tsc --project ./scripts/tsconfig.json && node ./scripts/dist/test-locales.js", "lint:dep-ownership": "tsc --project ./scripts/tsconfig.json && node ./scripts/dist/dep-ownership.js", "docs:json": "compodoc -p ./tsconfig.json -e json -d . --disableRoutesGraph", - "storybook": "ng run components:storybook", + "storybook": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" ng run components:storybook", "build-storybook": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" ng run components:build-storybook", "build-storybook:ci": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" ng run components:build-storybook --webpack-stats-json", "test-stories": "test-storybook --url http://localhost:6006",