-
-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Seems typescript itself runs the custom transforms as part of the emit which prevents transformers being used called at all. I'd like to execute my transformers even with --noEmit to do some validations:
Hence it would be great if ts-patch could ensure that the transformers are still called. The easiest solution could be to pass use a custom CompilerHost forwarding all calls to the original one. Then in the writeFile check for options.noEmit.
The alternative to call the transformers within ts-patch seems like an overkill as the logic is quite complex inside typescript.
Griffork, EliasWatson, ValeryLosik, vpzomtrrfrt and jaenster
Metadata
Metadata
Assignees
Labels
No labels