From 03979613f3ca227afd482469b55ce4379e277ba2 Mon Sep 17 00:00:00 2001 From: weipengfei <2187978347@qq.com> Date: Sat, 2 Sep 2023 17:33:01 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=BC=80=E5=8F=91=E7=8E=AF?= =?UTF-8?q?=E5=A2=83=E5=92=8C=E7=94=9F=E4=BA=A7=E7=8E=AF=E5=A2=83=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E5=91=BD=E4=BB=A4?= 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 fa3ca5d..5107dee 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,10 @@ "license": "MIT", "scripts": { "dev": "vite", + "prod": "vite --mode production", "preview": "vite preview --port 4173", "build": "vite build && node scripts/release.mjs", + "build:prod": "vite build --mode production && node scripts/release.mjs", "type-check": "vue-tsc --noEmit", "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore" },