From bcc75bdd149b254acb6463e2176b9deeb0485eea Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 22 Nov 2024 20:06:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84?= =?UTF-8?q?=E3=80=91=E6=89=93=E5=8C=85=EF=BC=9Amax=5Fold=5Fspace=5Fsize=20?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=204096?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index a4775dca..ce39ce10 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,11 @@ "dev": "vite --mode env.local", "dev-server": "vite --mode dev", "ts:check": "vue-tsc --noEmit", - "build:local": "node ./node_modules/vite/bin/vite.js build", - "build:dev": "node ./node_modules/vite/bin/vite.js build --mode dev", - "build:test": "node ./node_modules/vite/bin/vite.js build --mode test", - "build:stage": "node ./node_modules/vite/bin/vite.js build --mode stage", - "build:prod": "node ./node_modules/vite/bin/vite.js build --mode prod", + "build:local": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build", + "build:dev": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode dev", + "build:test": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode test", + "build:stage": "node --max_old_space_size=4096 ./node_modules/vite/bin/vite.js build --mode stage", + "build:prod": "node --max_old_space_size=4096 ./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",