Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorQuentin Barbe <forty@everteam.org>2022-02-03 19:46:21 +0300
committerGitHub <noreply@github.com>2022-02-03 19:46:21 +0300
commit0b0a7cc767947ea738da50caa832d8a922e20ac6 (patch)
tree47025df3ccccbbece8b401b35ace6000f4beb8df /docs
parent1b9338554fc006954fae54c25c33e64e26ae997e (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.md4
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