Browse Source

更新 'package.json'

hixon 4 months ago
parent
commit
0391f03614
1 changed files with 5 additions and 5 deletions
  1. 5 5
      package.json

+ 5 - 5
package.json

@@ -9,11 +9,11 @@
     "dev": "vite",
     "dev": "vite",
     "dev-server": "vite --mode dev",
     "dev-server": "vite --mode dev",
     "ts:check": "vue-tsc --noEmit",
     "ts:check": "vue-tsc --noEmit",
-    "build:local": "node --max_old_space_size=2048 ./node_modules/vite/bin/vite.js build",
-    "build:dev": "node --max_old_space_size=2048 ./node_modules/vite/bin/vite.js build --mode dev",
-    "build:test": "node --max_old_space_size=2048 ./node_modules/vite/bin/vite.js build --mode test",
-    "build:stage": "node --max_old_space_size=2048 ./node_modules/vite/bin/vite.js build --mode stage",
-    "build:prod": "node --max_old_space_size=2048 ./node_modules/vite/bin/vite.js build --mode prod",
+    "build:local": "node --max_old_space_size=4196 ./node_modules/vite/bin/vite.js build",
+    "build:dev": "node --max_old_space_size=4196 ./node_modules/vite/bin/vite.js build --mode dev",
+    "build:test": "node --max_old_space_size=4196 ./node_modules/vite/bin/vite.js build --mode test",
+    "build:stage": "node --max_old_space_size=4196 ./node_modules/vite/bin/vite.js build --mode stage",
+    "build:prod": "node --max_old_space_size=4196 ./node_modules/vite/bin/vite.js build --mode prod",
     "serve:dev": "vite preview --mode dev",
     "serve:dev": "vite preview --mode dev",
     "serve:prod": "vite preview --mode prod",
     "serve:prod": "vite preview --mode prod",
     "preview": "pnpm build:local && vite preview",
     "preview": "pnpm build:local && vite preview",