Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"outputs": ["dist/**"],
"inputs": ["src/**", "package.json", "tsconfig.json", "tsup.config.ts", "vite.config.ts"]
},
"bundle": {
"outputs": ["dist/**", "src/dist/**"]
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The bundle task is missing inputs configuration. Should this include the same inputs as the build task (src/**, package.json, tsconfig.json, etc.) to ensure proper cache invalidation when source files change?

},
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this intentional that the bundle task configuration is minimal compared to other tasks? For consistency, could it follow the same pattern as the build task with comprehensive inputs configuration?

"watch:bundle": {
"cache": false
},
"watch:tsc": {
"cache": false
}
Expand Down