- Notifications
You must be signed in to change notification settings - Fork 104
Closed
Description
In ts-node we released experimental support for native ECMAScript modules. To do this we needed to implement a custom resolve() loader hook. It is a copy-paste of node's built-in resolver, tweaked for our needs.
Is native ESM support on your radar? Do you have thoughts on how best to implement it for tsconfig-paths? I expect we will need to coordinate, since node only supports a single loader hook.
I see that the compiler itself can perform these resolutions via ts.resolveModuleName. Do you use that internally, or do you do something else?
desmap, frandiox, sylvaindumont, dannyfranca, yeldiRium and 23 moredobromyslov
Metadata
Metadata
Assignees
Labels
No labels