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

Never bundle when saving as peer/peerOptional - #255

Merged
isaacs merged 1 commit into
mainfrom
isaacs/never-bundle-peers
Mar 23, 2021
Merged

isaacs merged 1 commit into
mainfrom
isaacs/never-bundle-peers

Conversation

@isaacs

@isaacs isaacs commented Mar 19, 2021

Copy link
Copy Markdown
Contributor

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 force-pushed the isaacs/never-bundle-peers branch from e582c52 to 22b2d13 Compare March 23, 2021 16:08
@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