Closed sc0Vu closed 9 months ago
I like the idea of adding typescript support but this is a little weak. There is too much reliance on any
in the example script, which does not add much of a benefit.
Ideally there are some type definitions for the config and functions but I’m not too familiar with typescript.
I would also prefer to not leak esbuild configuration into the wider package scope i.e. outside of the Compile function.
It would be best to create an issue for this first to track progress and ideas.
In this PR, I expose build options to support ts file.