chore: renderer 构建前将先构建 web-vitals

This commit is contained in:
wangxuefeng
2025-03-11 15:30:39 +08:00
parent b0f2b93bbf
commit 6be244336e
2 changed files with 103 additions and 80 deletions

26
apps/renderer/turbo.json Normal file
View File

@@ -0,0 +1,26 @@
{
"globalEnv": ["NODE_ENV"],
"tasks": {
"reset": {
"cache": false
},
"build": {
"dependsOn": ["@sy/web-vitals#build"],
"outputs": ["dist/**", "dist.zip"]
},
"preview": {
"dependsOn": ["@sy/web-vitals#build"],
"outputs": ["dist/**"]
},
"dev": {
"dependsOn": ["@sy/web-vitals#build"],
"outputs": [],
"cache": false,
"persistent": true
},
"typecheck": {
"outputs": []
}
},
"extends": ["//"]
}