-
-
Notifications
You must be signed in to change notification settings - Fork 119
Open
Labels
enhancementNew feature or requestNew feature or request
Milestone
Description
Clear and concise description of the problem
When defining multiple build configurations (e.g., ESM, CJS, and DTS), Rollup/Rolldown runs each build sequentially, even when they are independent. This can slows down total build time in CI/CD pipelines.
Suggested solution
Add a parallel: true option or automatically detect when builds can be executed concurrently.
Each configuration shares most options (entry, plugins, external) and only differs in format/output.
So adding multiple outputs for one entry would be also nice
Alternative
Run multiple tsdown instances in parallel using npm scripts or programmatic Promise.all, but this adds complexity and is not integrated with Rollup’s lifecycle or plugin system. Will also not works with tsdown CLI
Additional context
No response
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request