From 3c4f17a1aba13373d50bf606a072922d2324d2b6 Mon Sep 17 00:00:00 2001 From: xingyu Date: Fri, 4 Aug 2023 21:34:02 +0800 Subject: [PATCH] fix: scripts preview --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 38e73737..a210c6bb 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "serve:pro": "vite preview --mode pro", "serve:dev": "vite preview --mode dev", "serve:test": "vite preview --mode test", - "preview": "pnpm build && vite preview", + "preview": "pnpm build:dev && vite preview", "npm:check": "npx npm-check-updates", "clean": "npx rimraf node_modules", "clean:cache": "npx rimraf node_modules/.cache",