mirror of
https://gitee.com/mateos/mateclaw.git
synced 2026-09-14 03:33:43 +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",
|
"description": "MateClaw - Personal AI Assistant Web Console",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"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",
|
"preview": "vite preview",
|
||||||
"lint": "eslint src --ext .ts,.vue --fix"
|
"lint": "eslint src --ext .ts,.vue --fix"
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user