-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Labels
Description
moved from #39, suggested by @Phaiax:
Hey.
I just looked at the last example here:
https://github.com/Microsoft/TypeScript/wiki/Using-the-Compiler-API
The LanguageService Object has a function called getEmitOutput. One could use the already parsed code tree to compile (hopefully) faster.
This would need a new command for tss.js and the ability to configure the CompilerOptions via tss.js. (settings source maps, ecma target, ...).
I've looked at the TypeScript source and at your changes and I think I could even implement it by myself, if you think this is a good idea and you do not want to do the work.
What do you think?