The compiler API has nothing to do with the module format for the compiler itself.
The issue is that the CompilerHost and LanguageServiceHost interfaces expect a synchronous filesystem API, and downstream from that the compiler internals all expect synchronous access to files.
There's a very long standing issue open to make the API async, but I'm pretty sure it's obsolete now in the face of the tsgo work.
The issue is that the CompilerHost and LanguageServiceHost interfaces expect a synchronous filesystem API, and downstream from that the compiler internals all expect synchronous access to files.
There's a very long standing issue open to make the API async, but I'm pretty sure it's obsolete now in the face of the tsgo work.