Plans to add Typescript support?
tymondesigns opened this issue · comments
Love the simplicity!
Do you have any plans to add Typescript support at some point?
maybe something like
microbundle --ts
// or
microbundle --transpile=typescript
We could probably build that in by-default, based on file extension.
It looks like rollup-plugin-typescript2 would handle this perfectly out-of-the-box.
I'm happy to take this one. @developit any details you have in mind?
Awesome 😁 happy to add myself, if nobody beats me to it
Would you be able to add flow support as well?
FWIW I end up using tsc-watch --onSuccess
to a directory called compiled
, and then I point rollup there.
@jonstuebe yup, I'd love a PR to add rollup-plugin-flow.
@tymondesigns if you are up for it, why don't you take it? I don't think I'll be able to work on it for a few days!
Cool, yea I think I will.. only just home so not had chance until now
Closing because merged :)