From 617831ed90ea6f713a5d08fd155579189557f69c Mon Sep 17 00:00:00 2001 From: matevip Date: Sun, 10 May 2026 21:17:02 +0800 Subject: [PATCH] fix(ui-build): export NODE_OPTIONS so vite build inherits the 6GB heap --- mateclaw-ui/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mateclaw-ui/package.json b/mateclaw-ui/package.json index 81e77a71..a0101430 100644 --- a/mateclaw-ui/package.json +++ b/mateclaw-ui/package.json @@ -6,7 +6,7 @@ "description": "MateClaw - Personal AI Assistant Web Console", "scripts": { "dev": "vite", - "build": "NODE_OPTIONS=--max-old-space-size=6144 vue-tsc && vite build", + "build": "export NODE_OPTIONS=--max-old-space-size=6144 && vue-tsc && vite build", "preview": "vite preview", "lint": "eslint src --ext .ts,.vue --fix" },