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

fix(no-missing-import): Ignore node builtins in package.json imports #346

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

scagood
Copy link

@scagood scagood commented Sep 25, 2024

This covers over enhanced-resolve's behaviour of throwing unresolved modules, as it cannot resolve builtin node modules.

This is done by adding a load of aliases that are effectivly: { name: moduleName, alias: false } meaning that enhanced resolve does not throw.

@scagood scagood linked an issue Sep 25, 2024 that may be closed by this pull request
1 task
@scagood scagood requested review from a team and aladdin-add September 25, 2024 21:19
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.

Bug: package.json import results in no-missing-import
2 participants