diff --git a/netlify.toml b/netlify.toml index afb156602..59803ff35 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build.environment] NODE_VERSION = "22.11" - NODE_OPTIONS = "--max-old-space-size=8192" + NODE_OPTIONS = "--max-old-space-size=16384" diff --git a/package.json b/package.json index c427ab293..ba5e49af8 100644 --- a/package.json +++ b/package.json @@ -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:.*/\"", @@ -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"