-
Notifications
You must be signed in to change notification settings - Fork 522
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts_project should allow alternative transpilers #3133
Milestone
Comments
alexeagle
added a commit
that referenced
this issue
Dec 10, 2021
alexeagle
added a commit
that referenced
this issue
Dec 10, 2021
alexeagle
added a commit
that referenced
this issue
Dec 21, 2021
alexeagle
added a commit
that referenced
this issue
Dec 21, 2021
alexeagle
added a commit
that referenced
this issue
Dec 21, 2021
alexeagle
added a commit
that referenced
this issue
Dec 21, 2021
alexeagle
added a commit
that referenced
this issue
Dec 22, 2021
alexeagle
added a commit
that referenced
this issue
Jan 3, 2022
alexeagle
added a commit
that referenced
this issue
Jan 4, 2022
* feat(typescript): allow alternative transpilers Fixes #3133 * fixup! feat(typescript): allow alternative transpilers
alexeagle
added a commit
that referenced
this issue
Jan 7, 2022
* feat(typescript): allow alternative transpilers Fixes #3133 * fixup! feat(typescript): allow alternative transpilers
alexeagle
added a commit
that referenced
this issue
Jan 8, 2022
* feat(typescript): allow alternative transpilers Fixes #3133 * fixup! feat(typescript): allow alternative transpilers
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Every TS project needs a typechecker and a transpiler. Currently the
ts_project
rule uses onetsc
subprocess to do both.However a common setup is to separate these, using some other transpiler like
babel
orswc
to produce the .js outputs, which are consumed in the developer's workflow. The typechecks produce the.d.ts
outputs and only need to be produced when testing the repo, and not in the developer's workflow (they probably have the TS language service in their editor so they already saw typecheck diagnostics as the coded)The
ts_project
macro could accept atranspiler
attribute that makes it easy to do this division of responsibility, and gives an easy path to making dev workflows 10x faster.The text was updated successfully, but these errors were encountered: