fix: CI web 构建堆提升至 5120MB,避免低内存优化后仍 OOM

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-10-24 15:40:39 +08:00
1 parent 9d93a373ae
commit d6769846f5
2 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -9,7 +9,7 @@
"scripts": {
"dev": "vite serve --mode development",
"build:prod": "node --max-old-space-size=6144 node_modules/vite/bin/vite.js build --mode production",
"build:ci": "CI=true VITE_LOW_MEM=1 VITE_BUILD_COMPRESS= node --max-old-space-size=3072 node_modules/vite/bin/vite.js build --mode production",
"build:ci": "CI=true VITE_LOW_MEM=1 VITE_BUILD_COMPRESS= node --max-old-space-size=5120 node_modules/vite/bin/vite.js build --mode production",
"build:dev": "node --max-old-space-size=6144 node_modules/vite/bin/vite.js build --mode development",
"preview": "vite preview",
"lint:eslint": "eslint",