Open dygufa opened 6 years ago
I guess we could generate both Javascript and TypeScript targets. As the js target would basically generate the ts target and transpile it, it should also help to improve the project architecture for reusability and be a step towards extensibility.
I vote for generating a folder with .js + d.ts. In this case which would be the name of the target?
The same as the correspondent typescript targets, with typescript replaced by javascript?
This would be a breaking change:
How would we fix that?
I don't see why the target name would change, given that the targets names are typescript-web
, typescript-nodeclient
, etc. What would keep us from just naming the new targets javascript-web
and so on?
If we choose to generate .js + d.ts files there's no point on generating .ts files, is there?
Generate .js and .d.ts instead of generating .ts? Or having both a .ts generator and a .js generator?