diff --git a/nx.json b/nx.json index 02cac1a0b7..d25b6a0380 100644 --- a/nx.json +++ b/nx.json @@ -179,7 +179,7 @@ ], "options": { "cwd": "{projectRoot}", - "command": "VITE_DISABLE_TYPESCRIPT_CHECKER=true storybook build --test", + "command": "NODE_OPTIONS='--max-old-space-size=10240' VITE_DISABLE_TYPESCRIPT_CHECKER=true storybook build --test", "output-dir": "storybook-static", "config-dir": ".storybook" },