mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
build: 设置前端打包内存 (#1746)
This commit is contained in:
parent
71156e557b
commit
d04238aa25
|
|
@ -4,7 +4,7 @@
|
|||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "run-p --max_old_space_size=4096 type-check build-only",
|
||||
"build": "set NODE_OPTIONS=--max_old_space_size=4096 && run-p type-check build-only",
|
||||
"preview": "vite preview",
|
||||
"test:unit": "vitest",
|
||||
"build-only": "vite build",
|
||||
|
|
|
|||
Loading…
Reference in New Issue