Fix restrictive javascript heap memory

This commit is contained in:
Charles Bochet 2024-04-30 19:17:12 +02:00
parent b7c2f83abf
commit bf7c4a5a89

View File

@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"build": "npx vite build && sh ./scripts/inject-runtime-env.sh",
"build:sourcemaps": "VITE_BUILD_SOURCEMAP=true NODE_OPTIONS=--max-old-space-size=3000 npx nx build",
"build:sourcemaps": "VITE_BUILD_SOURCEMAP=true NODE_OPTIONS=--max-old-space-size=4096 npx nx build",
"start:prod": "NODE_ENV=production npx vite --host",
"tsup": "npx tsup"
},