Many of us work on web apps that are deeply tied to certain transpilers - in my case it's SWC, though for a lot of folks it’s Babel. Sometimes, it may make sense to be able to only have one transpiler process JavaScript/TypeScript source files instead of having each source file pass through two transpilers.
Proposed solution
Possible solutions
A configuration option to skip the esbuild transform for source files.
Alternatives considered
Just living with two passes through each source file.
Risks, downsides, and/or tradeoffs
Yet another option, though a more advanced case that wouldn’t be invoked by accident.
Detailed design
No response
Open questions
No response
Help make it happen!
[ ] I am willing to submit a PR to implement this change.
[X] I am willing to submit a PR to implement this change, but would need some guidance.
[ ] I am not willing to submit a PR to implement this change.
Motivation
Many of us work on web apps that are deeply tied to certain transpilers - in my case it's SWC, though for a lot of folks it’s Babel. Sometimes, it may make sense to be able to only have one transpiler process JavaScript/TypeScript source files instead of having each source file pass through two transpilers.
Proposed solution
Possible solutions
A configuration option to skip the esbuild transform for source files.
Alternatives considered
Just living with two passes through each source file.
Risks, downsides, and/or tradeoffs
Yet another option, though a more advanced case that wouldn’t be invoked by accident.
Detailed design
No response
Open questions
No response
Help make it happen!