Skip to content

Build your personal knowledge base with Trilium Notes

chore(dx/client): allocate more memory for the build

Elian Doran3fda97a9bda3
diff --git a/apps/client/package.json b/apps/client/package.json
index 9a979ccdbb..ef91684f25 100644
--- a/apps/client/package.json
+++ b/apps/client/package.json
@@ -10,7 +10,7 @@
"url": "https://github.com/TriliumNext/Notes"
},
"scripts": {
- "build": "vite build",
+ "build": "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build",
"test": "vitest",
"circular-deps": "dpdm -T src/**/*.ts --tree=false --warning=false --skip-dynamic-imports=circular"
},