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

Support for yarn pnp ESM resolver #1933

Open
notpeelz opened this issue Dec 22, 2022 · 0 comments
Open

Support for yarn pnp ESM resolver #1933

notpeelz opened this issue Dec 22, 2022 · 0 comments

Comments

@notpeelz
Copy link

Since nodejs/node#43772, I'm able to use the ts-node/esm loader on top of yarn pnp.

e.g: node -r ./.pnp.cjs --loader ./.pnp.loader.mjs --loader ts-node/esm ./test.mts,
It loads ts-node from ./yarn/cache/...ts-node.zip and runs test.mts as expected.
Tested on node v20.0.0-nightly2022122151246139e7.

However, ts-node's ESM loader doesn't resolve packages through yarn pnp.
Are there any other issues blocking this feature?

Parent: #1756
Related: #1007

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

1 participant