From 56c06799af2f45fc9224a0362d95827c4d6d9ed3 Mon Sep 17 00:00:00 2001 From: Andrew Hyndman Date: Wed, 9 Feb 2022 15:52:48 -0800 Subject: [PATCH] Document new option --- packages/node-resolve/README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/node-resolve/README.md b/packages/node-resolve/README.md index 905d15046..e13a9e3b1 100755 --- a/packages/node-resolve/README.md +++ b/packages/node-resolve/README.md @@ -75,7 +75,14 @@ If `true`, instructs the plugin to use the browser module resolutions in `packag Type: `Array[...String]`
Default: `['node_modules']` -One or more directories in which to recursively look for modules. +A list of directory names in which to recursively look for modules. + +### `modulePaths` + +Type: `Array[...String]`
+Default: `[]` + +A list of absolute paths to additional locations to search for modules. This is analogous to setting the `NODE_PATH` environment variable for node. ### `dedupe`