From b513d701d8744c1d0164025348fa2e435613c1b2 Mon Sep 17 00:00:00 2001 From: ZhuRui Date: Sat, 8 Aug 2026 14:22:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package.json b/package.json index 538665d..0e4b766 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "type": "module", "scripts": { "serve": "vite", + "serve:prod": "vite --mode production", "build:dev": "vue-tsc --noEmit && vite build --mode development", "build:test": "vue-tsc --noEmit && vite build --mode test", "build:prod": "vue-tsc --noEmit && vite build --mode production", @@ -13,6 +14,7 @@ "test:run": "vitest run", "test:coverage": "vitest run --coverage", "preview": "vite preview", + "preview:prod": "pnpm build:prod && vite preview", "type-check": "vue-tsc --noEmit", "lint": "eslint src --ext .js,.ts,.tsx", "lint:fix": "eslint src --ext .js,.ts,.tsx --fix",