-
-
Notifications
You must be signed in to change notification settings - Fork 34.3k
Closed
Closed
Copy link
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.questionIssues that look for answers.Issues that look for answers.
Description
Affected URL(s)
https://nodejs.org/api/esm.html#resolution-algorithm-specification
Description of the problem
While working through a few things with the Typescript team along with the vite / void zero team, I've run into something that I think could be clarified better in the docs about package resolution.
This is related to #60864 along with microsoft/TypeScript#62909 (comment)
What I'm trying to sus out there is... when these wildcard exports are used, should there be any type of "algorithm" or "probing" that should happen at resolution time if the import statement in the given file doesn't define the extension of the file being imported?
Metadata
Metadata
Assignees
Labels
docIssues and PRs related to the documentations.Issues and PRs related to the documentations.questionIssues that look for answers.Issues that look for answers.