From 825c8deb593d2eecf2f0fbe743d77dd2c553a4dd Mon Sep 17 00:00:00 2001 From: Kieran Brahney Date: Fri, 7 Jul 2023 12:39:31 +0100 Subject: [PATCH] fix(node-resolve): modulePaths default is not set --- packages/node-resolve/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/node-resolve/src/index.js b/packages/node-resolve/src/index.js index e8bc83153..9c5645a9f 100644 --- a/packages/node-resolve/src/index.js +++ b/packages/node-resolve/src/index.js @@ -37,6 +37,7 @@ const defaults = { extensions: ['.mjs', '.js', '.json', '.node'], resolveOnly: [], moduleDirectories: ['node_modules'], + modulePaths: [], ignoreSideEffectsForRoot: false, // TODO: set to false in next major release or remove allowExportsFolderMapping: true