fix: 增加 Node.js 内存限制 6144->8192MB 解决构建 OOM
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "NODE_OPTIONS=--max-old-space-size=6144 tsc && vite build",
|
||||
"build": "NODE_OPTIONS=--max-old-space-size=8192 tsc && vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user