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

Subpath imports not working #11

Open
TimonVS opened this issue Jan 15, 2024 · 0 comments
Open

Subpath imports not working #11

TimonVS opened this issue Jan 15, 2024 · 0 comments

Comments

@TimonVS
Copy link

TimonVS commented Jan 15, 2024

Subpath imports using the "imports" field in package.json results in an error like:

Error [ERR_MODULE_NOT_FOUND]: Cannot find module '/Users/timon.vanspronsen/Code/tsimp-imports/src/utils/math.js'

I've created a reproduction repository here: https://github.com/TimonVS/tsimp-imports. I've tried with both Node.js 18 and 20.

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