From eb5bc3e86a779e8cb30b09e2ea26612f1cc36430 Mon Sep 17 00:00:00 2001 From: Quentin Barbe Date: Wed, 2 Feb 2022 17:43:51 +0100 Subject: [PATCH] docs: bundleDependencies can be a boolean. 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