diff options
author | Quentin Barbe <forty@everteam.org> | 2022-02-03 19:46:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-03 19:46:21 +0300 |
commit | 0b0a7cc767947ea738da50caa832d8a922e20ac6 (patch) | |
tree | 47025df3ccccbbece8b401b35ace6000f4beb8df /docs | |
parent | 1b9338554fc006954fae54c25c33e64e26ae997e (diff) |
docs: bundleDependencies can be a boolean. (#4361)
This has been possible since this commit in `npm-bundled`:
https://github.com/npm/npm-bundled/commit/101a94db5953e508b57de0e7b887964691d2d326
Diffstat (limited to 'docs')
-rw-r--r-- | docs/content/configuring-npm/package-json.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/content/configuring-npm/package-json.md b/docs/content/configuring-npm/package-json.md index 5d61aac52..530df0971 100644 --- a/docs/content/configuring-npm/package-json.md +++ b/docs/content/configuring-npm/package-json.md @@ -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 |