Parcourir la source

更新 'package.json'

hixon il y a 4 mois
Parent
commit
cb6164e995
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      package.json

+ 5 - 5
package.json

@@ -9,11 +9,11 @@
     "dev": "vite",
     "dev-server": "vite --mode dev",
     "ts:check": "vue-tsc --noEmit",
-    "build:local": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build",
-    "build:dev": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode dev",
-    "build:test": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode test",
-    "build:stage": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode stage",
-    "build:prod": "node --max_old_space_size=8192 ./node_modules/vite/bin/vite.js build --mode prod",
+    "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",
     "serve:dev": "vite preview --mode dev",
     "serve:prod": "vite preview --mode prod",
     "preview": "pnpm build:local && vite preview",