Skip to content

Commit e740c16

Browse files
committed
fix(webapp): give the remix build the same heap headroom as typecheck
The webapp outgrew the default heap on CI runners — both E2E workflows died in webapp:build with allocation failures.
1 parent 2b5a705 commit e740c16

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"sideEffects": false,
66
"scripts": {
77
"build": "run-s build:** && pnpm run upload:sourcemaps",
8-
"build:remix": "remix vite:build",
8+
"build:remix": "cross-env NODE_OPTIONS=\"--max-old-space-size=8192\" remix vite:build",
99
"build:server": "esbuild --platform=node --format=cjs ./server.ts --outdir=build --sourcemap",
1010
"build:otlpworker": "esbuild --platform=node --format=cjs --bundle ./app/v3/otlpTransformWorker.ts --outfile=build/otlpTransformWorker.cjs --sourcemap",
1111
"build:sentry": "esbuild --platform=node --format=cjs --outbase=. ./sentry.server.ts ./app/utils/sentryTraceContext.server.ts --outdir=build --sourcemap",

0 commit comments

Comments
 (0)