build: 打包指定内存为4G (#1734)

This commit is contained in:
shaohuzhang1 2024-12-02 15:32:39 +08:00 committed by GitHub
parent 762e9f64bd
commit ec27e1ead5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,7 +4,7 @@
"private": true,
"scripts": {
"dev": "vite",
"build": "run-p type-check build-only",
"build": "run-p --max_old_space_size=4096 type-check build-only",
"preview": "vite preview",
"test:unit": "vitest",
"build-only": "vite build",