Jelajahi Sumber

更新 'package.json'

hixon 4 bulan lalu
induk
melakukan
cb6164e995
1 mengubah file dengan 5 tambahan dan 5 penghapusan
  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",