From 805f260dff86e8798de3303ccb29ea8f0fdb03a5 Mon Sep 17 00:00:00 2001 From: Siyu Kong Date: Tue, 21 Feb 2023 18:41:29 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20build=20script=E5=A2=9E=E5=8A=A0?= =?UTF-8?q?=E5=86=85=E5=AD=98=E9=85=8D=E7=BD=AE(=E8=A7=A3=E5=86=B3nodejs?= =?UTF-8?q?=E9=BB=98=E8=AE=A4=E9=85=8D=E7=BD=AE=E5=86=85=E5=AD=98=E7=9B=8A?= =?UTF-8?q?=E5=A4=84)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 5b55353a..b98dbfc6 100644 --- a/package.json +++ b/package.json @@ -8,9 +8,9 @@ "i": "pnpm install", "dev": "vite --mode base", "ts:check": "vue-tsc --noEmit", - "build:pro": "vite build --mode pro", - "build:dev": "vite build --mode dev", - "build:test": "npm run ts:check && vite build --mode test", + "build:pro": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode pro", + "build:dev": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode dev", + "build:test": "node --max_old_space_size=8000 ./node_modules/vite/bin/vite.js build --mode test", "serve:pro": "vite preview --mode pro", "serve:dev": "vite preview --mode dev", "serve:test": "vite preview --mode test",