Skip to content

Commit

Permalink
docs: bundleDependencies can be a boolean.
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 committed Feb 3, 2022
1 parent 003d7fb commit eb5bc3e
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 eb5bc3e

Please sign in to comment.