Skip to content

Commit 0f45dfd

Browse files
committed
Reduces memory allocation for build process
Decreases the maximum old space size allocated during the build process. This helps reduce overall memory consumption.
1 parent f67eecb commit 0f45dfd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Exceptionless.Web/ClientApp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"scripts": {
66
"dev": "cross-env NODE_OPTIONS=--trace-warnings vite dev",
77
"dev:api": "cross-env ASPNETCORE_URLS=https://be.exceptionless.io/ vite dev",
8-
"build": "cross-env NODE_OPTIONS=--max-old-space-size=16384 vite build",
8+
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 vite build",
99
"preview": "vite preview",
1010
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
1111
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",

0 commit comments

Comments
 (0)