From 0b0a7cc767947ea738da50caa832d8a922e20ac6 Mon Sep 17 00:00:00 2001 From: Quentin Barbe Date: Thu, 3 Feb 2022 17:46:21 +0100 Subject: [PATCH] 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 --- docs/content/configuring-npm/package-json.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/configuring-npm/package-json.md b/docs/content/configuring-npm/package-json.md index 5d61aac52a182..530df0971c8eb 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