Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add notes about ts-node's "experimentalResolver" option #5

Closed
forivall opened this issue Sep 18, 2022 · 1 comment
Closed

Add notes about ts-node's "experimentalResolver" option #5

forivall opened this issue Sep 18, 2022 · 1 comment

Comments

@forivall
Copy link

forivall commented Sep 18, 2022

I discovered ts-node's hidden experimentalResolver option, and it seems like it supports some of the features of "paths", etc. It's unclear which exact features they support from the Resolution Comparison, but it's worth some exploration IMO, and worth noting with an asterisk *.

@privatenumber
Copy link
Owner

In their latest release, they're clear about not supporting it.

The latest status update on experimentalResolver flag is that they only support TypeScript's new extensions .cjs -> .cts, .mjs -> .mts, .js -> .ts

They'll need to support this in tsconfig.json#paths as well, but doesn't seem like it's implemented yet and hasn't been actively developed (no commits for 2 years): TypeStrong/ts-node#1515

Happy to update once it's landed in a stable release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants