Skip to content

Commit 0b0a7cc

Browse files
authored
docs: bundleDependencies can be a boolean. (#4361)
This has been possible since this commit in `npm-bundled`: npm/npm-bundled@101a94d
1 parent 1b93385 commit 0b0a7cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/content/configuring-npm/package-json.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,10 @@ include any versions, as that information is specified in `dependencies`.
838838

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

841+
Alternatively, `"bundledDependencies"` can be defined as a boolean value. A
842+
value of `true` will bundle all dependencies, a value of `false` will bundle
843+
none.
844+
841845
### optionalDependencies
842846

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

0 commit comments

Comments
 (0)