build: 设置前端打包内存 (#1746)
parent
71156e557b
commit
d04238aa25
|
|
@ -4,7 +4,7 @@
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite",
|
"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",
|
"preview": "vite preview",
|
||||||
"test:unit": "vitest",
|
"test:unit": "vitest",
|
||||||
"build-only": "vite build",
|
"build-only": "vite build",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue