Skip to content

Commit e3ba990

Browse files
committed
fix: proper turbo (#2852)
### TL;DR Added build configuration for inspector and updated dev dependencies in Turbo config. ### What changed? - Added a new `build:inspector` task with the same configuration as the existing build task - Added a dependency on `^build` to the `dev` task, ensuring build tasks complete before dev starts ### How to test? 1. Run `turbo run build:inspector` to verify the new task works correctly 2. Run `turbo run dev` to confirm it properly waits for build tasks to complete first ### Why make this change? This change improves the development workflow by ensuring that build dependencies are properly resolved before development starts. The new inspector build task allows for specialized builds with inspector capabilities while maintaining the same environment variables and output structure as the standard build.
1 parent e0d3cc0 commit e3ba990

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

frontend/turbo.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,13 @@
77
"env": ["VITE_APP_*"],
88
"outputs": ["dist/**"]
99
},
10+
"build:inspector": {
11+
"dependsOn": ["^build"],
12+
"env": ["VITE_APP_*"],
13+
"outputs": ["dist/**"]
14+
},
1015
"dev": {
16+
"dependsOn": ["^build"],
1117
"env": ["VITE_APP_*"],
1218
"persistent": true
1319
}

0 commit comments

Comments
 (0)