Skip to content
This repository has been archived by the owner on Jan 20, 2022. It is now read-only.

Never bundle when saving as peer/peerOptional #255

Merged
merged 1 commit into from
Mar 23, 2021

Conversation

isaacs
Copy link
Contributor

@isaacs isaacs commented Mar 19, 2021

There's a bit of logic in npm/cli that sets the saveBundle option to
false based on the various --save-xyz flags. It is easier and safer
to just never bundle if we're saving a peer dep, in the one place where
that decision is made.

References

There's a bit of logic in npm/cli that sets the `saveBundle` option to
false based on the various `--save-xyz` flags.  It is easier and safer
to just never bundle if we're saving a peer dep, in the one place where
that decision is made.

PR-URL: #255
Credit: @isaacs
Close: #255
@isaacs isaacs closed this in 22b2d13 Mar 23, 2021
@isaacs isaacs merged commit 22b2d13 into main Mar 23, 2021
@wraithgar wraithgar deleted the isaacs/never-bundle-peers branch April 22, 2021 17:45
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant