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: skip missing optional deps when bundling, closes npm/cli#5924 #149

Merged
merged 1 commit into from Dec 7, 2022

Conversation

nlf
Copy link
Contributor

@nlf nlf commented Dec 7, 2022

when bundling a dependency that has an optional dependency, we must be tolerant for cases where that optional dependency has not been installed. this fix makes it so we skip such packages instead of throwing a confusing error.

@nlf nlf requested a review from a team as a code owner December 7, 2022 19:44
@nlf nlf merged commit e5256de into main Dec 7, 2022
@nlf nlf deleted the nlf/skip-missing-optional branch December 7, 2022 19:58
@github-actions github-actions bot mentioned this pull request Dec 7, 2022
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.

None yet

2 participants