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

feat: package subpath extension searching for both cjs and non-exports resolution #359

Merged
merged 2 commits into from
Jun 3, 2024

Conversation

guybedford
Copy link
Member

Currently we only do extension searching in package subpath resolutions when the package is a CommonJS package, per the Node.js resolution rules.

This resolves #355 in also performing subpath extension searching for extensions in addition when the subpath resolution is not resolved through exports.

@guybedford guybedford merged commit f52f463 into main Jun 3, 2024
5 checks passed
@guybedford guybedford deleted the noexports-extension-search branch June 3, 2024 00:43
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

Successfully merging this pull request may close these issues.

Error: Module not found: https://cdn.jsdelivr.net/npm/dayjs@1.11.11/locale/en
1 participant