Skip to content

Commit

Permalink
add more memory
Browse files Browse the repository at this point in the history
  • Loading branch information
alexasselin008 committed Nov 11, 2024
1 parent 6fb19a9 commit 1143289
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build.environment]
NODE_VERSION = "22.11"
NODE_OPTIONS = "--max-old-space-size=8192"
NODE_OPTIONS = "--max-old-space-size=16384"
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"start-sb-chroma": "cross-env STORYBOOK_IS_CHROMATIC=true pnpm start:sb",
"start-sb-docs": "cross-env STORYBOOK_IS_DOCS_SITE=true storybook dev -p 9010 --docs",
"start-sb-no-chroma": "cross-env STORYBOOK_INCLUDE_CHROMATIC=false pnpm start:sb",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm -r build",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=16384 pnpm -r build",
"build-storybook": "pnpm build-sb-chroma",
"build-sb": "cross-env NODE_OPTIONS=--max-old-space-size=8192 storybook build -o storybook-static/sb",
"build-sb-chroma": "cross-env STORYBOOK_IS_CHROMATIC=true NODE_OPTIONS=--max-old-space-size=8192 storybook build -o storybook-static/chromatic",
"build-sb-docs": "cross-env STORYBOOK_IS_DOCS_SITE=true NODE_OPTIONS=--max-old-space-size=8192 storybook build -o storybook-static/docs --docs",
"build-sb": "cross-env NODE_OPTIONS=--max-old-space-size=16384 storybook build -o storybook-static/sb",
"build-sb-chroma": "cross-env STORYBOOK_IS_CHROMATIC=true NODE_OPTIONS=--max-old-space-size=16384 storybook build -o storybook-static/chromatic",
"build-sb-docs": "cross-env STORYBOOK_IS_DOCS_SITE=true NODE_OPTIONS=--max-old-space-size=16384 storybook build -o storybook-static/docs --docs",
"build-netlify-sb": "pnpm build && pnpm build-sb",
"build-netlify-docs": "pnpm build && pnpm build-sb-docs",
"clean": "pnpm run \"/^clean:.*/\"",
Expand All @@ -40,7 +40,7 @@
"release-alpha": "cross-env NODE_ENV=production pnpm build & pnpm publish-pkg-alpha",
"release": "cross-env NODE_ENV=production pnpm build & pnpm publish-pkg",
"diff": "pnpm outdated && pnpm diff",
"deploy-netlify-sb-preview": "cross-env NODE_OPTIONS=--max-old-space-size=8192 pnpm build && pnpm build-sb && netlify deploy --dir=storybook-static/sb --site=4b420380-aed1-4dc6-b002-6efe7b413025 --open",
"deploy-netlify-sb-preview": "cross-env NODE_OPTIONS=--max-old-space-size=16384 pnpm build && pnpm build-sb && netlify deploy --dir=storybook-static/sb --site=4b420380-aed1-4dc6-b002-6efe7b413025 --open",
"serve-sb": "serve storybook-static/sb",
"serve-sb-chroma": "serve storybook-static/chromatic",
"serve-sb-docs": "serve storybook-static/docs"
Expand Down

0 comments on commit 1143289

Please sign in to comment.