Skip to content

Commit f33877a

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 f33877a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Exceptionless.Web/ClientApp/package.json

Lines changed: 2 additions & 2 deletions
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",
@@ -100,4 +100,4 @@
100100
"overrides": {
101101
"storybook": "$storybook"
102102
}
103-
}
103+
}

0 commit comments

Comments
 (0)