Skip to content

Commit f253dac

Browse files
committed
Set node heap size for vite build
1 parent bbf09c9 commit f253dac

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": "vite build",
8+
"build": "cross-env NODE_OPTIONS=--max-old-space-size=16384 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)