mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-13 03:13:41 +08:00
fix(ui-build): invoke node directly with heap flag + .npmrc fallback for workers
This commit is contained in:
parent
617831ed90
commit
3984591ffe
1
mateclaw-ui/.npmrc
Normal file
1
mateclaw-ui/.npmrc
Normal file
@ -0,0 +1 @@
|
||||
node-options=--max-old-space-size=6144
|
||||
@ -6,7 +6,7 @@
|
||||
"description": "MateClaw - Personal AI Assistant Web Console",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "export NODE_OPTIONS=--max-old-space-size=6144 && vue-tsc && vite build",
|
||||
"build": "node --max-old-space-size=6144 ./node_modules/vue-tsc/bin/vue-tsc.js && node --max-old-space-size=6144 ./node_modules/vite/bin/vite.js build",
|
||||
"preview": "vite preview",
|
||||
"lint": "eslint src --ext .ts,.vue --fix"
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user