extension-cli
extension-cli copied to clipboard
TypeScript support
Is your feature request related to a problem? Please describe. I just found this, and I wanted to ask if TypeScript support is coming in the future.
Describe the solution you'd like Support for the TypeScript compiler. I can make a pr for it if needed.
Describe alternatives you've considered
It isn't hard to modify the npm scripts to run npx tsc
and then xt-build
.
Additional context Could be a options on initial setup.
You can leave this open, I am considering how it should and could work, but need to get better at typescript first.
In the meantime if you already have setup build from ts -> js that build output can be piped to the build command.
I'm assuming that the best way to implement that would be use tsc with a outFile param.
Is it possible that we could use tsc to compile to ESNext, and then use babel to transpile down if needed?
I think it would be possible to do this now at a project level, the way you have described in the original issue. It is not the ideal experience, but it should work for the time being.
Guys, I don't understand very well... has the suprote already been added? if not, what would this workaround be like?
Has any work been done to add TypeScript compatibility, or does anyone know of a way to do so on a per-project basis?
Please see #204 ~~for an easy workaround (it's just a few character changes to build.json
)~~.