fix: 在 Vercel 工作流中启用 Vue 生产环境开发工具
This commit is contained in:
1
.github/workflows/vercel.yaml
vendored
1
.github/workflows/vercel.yaml
vendored
@ -23,6 +23,7 @@ jobs:
|
||||
run: pnpm dlx vercel build --target=production --token=${{ secrets.VERCEL_TOKEN }}
|
||||
env:
|
||||
VITE_BUILD_COMMIT: ${{ github.sha }}
|
||||
__VUE_PROD_DEVTOOLS__: true
|
||||
- name: 🧐 类型检查 # 要先 build,保证 components.d.ts 存在
|
||||
run: pnpm run type-check
|
||||
- name: 🚀 部署到 Vercel
|
||||
|
Reference in New Issue
Block a user