chore: 增加 build:statging

This commit is contained in:
wangxuefeng
2025-03-12 19:35:05 +08:00
parent 5f8609fc02
commit 6016504c94
12 changed files with 114 additions and 148 deletions

View File

@@ -5,7 +5,7 @@
"scripts": {
"dev": "vite dev --mode development",
"build": "vite build --mode production",
"build:staging": "vite build --mode staging",
"#build:staging": "vite build --mode staging",
"build:dev": "vite build --mode development",
"preview": "vite preview",
"typecheck": "vue-tsc --noEmit --skipLibCheck"

View File

@@ -8,6 +8,10 @@
"dependsOn": ["@sy/web-vitals#build"],
"outputs": ["dist/**", "dist.zip"]
},
"build:staging": {
"dependsOn": ["@sy/web-vitals#build"],
"outputs": ["dist/**"]
},
"preview": {
"dependsOn": ["@sy/web-vitals#build"],
"outputs": ["dist/**"]