Skip to content

Commit

Permalink
docs: bundleDependencies can be a boolean. (#4361)
Browse files Browse the repository at this point in the history
This has been possible since this commit in `npm-bundled`:
npm/npm-bundled@101a94d
  • Loading branch information
forty authored Feb 3, 2022
1 parent 1b93385 commit 0b0a7cc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/content/configuring-npm/package-json.md
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,10 @@ include any versions, as that information is specified in `dependencies`.

If this is spelled `"bundleDependencies"`, then that is also honored.

Alternatively, `"bundledDependencies"` can be defined as a boolean value. A
value of `true` will bundle all dependencies, a value of `false` will bundle
none.

### optionalDependencies

If a dependency can be used, but you would like npm to proceed if it cannot
Expand Down

0 comments on commit 0b0a7cc

Please sign in to comment.