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: ignore external module if not declared in package.json #197

Merged
merged 1 commit into from
Sep 27, 2021
Merged

feat: ignore external module if not declared in package.json #197

merged 1 commit into from
Sep 27, 2021

Conversation

samchungy
Copy link
Collaborator

@samchungy samchungy commented Sep 23, 2021

Why we need this change

Resolves #196

If you have a package listed in external which is not in the package.json dependencies, the plugin will try and install it anyway.

The documentation states the following:

Packages that are marked as external and exist in the package.json's dependencies will be installed and included with your build under node_modules.

Change

  • aligns the behaviour of external with the documentation.

Copy link
Owner

@floydspace floydspace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @samchungy . Looks good. Thank you for the improvement. Merging it

@floydspace floydspace merged commit fbd9981 into floydspace:master Sep 27, 2021
@samchungy samchungy deleted the feat/ignore-external branch September 27, 2021 09:04
@github-actions
Copy link

🎉 This PR is included in version 1.18.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

external behaviour
2 participants