From 47ba15834aa1082b44864909f1ebc89e61696d50 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 27 Jan 2024 04:13:25 -0600 Subject: [PATCH] refactor: no modules for linked --- packages/build/build/explicate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/build/build/explicate.js b/packages/build/build/explicate.js index 1f38fee..e7f851c 100644 --- a/packages/build/build/explicate.js +++ b/packages/build/build/explicate.js @@ -45,8 +45,8 @@ module.exports = async function explicate( realResolvedCandidate = realResolvedCandidate.slice(0, -5); } } - // Aliased or symlinked? Include submodules. - if (path !== request || isSymlink) { + // Aliased? Include submodules. + if (path !== request) { const submodules = join(realResolvedCandidate, 'node_modules'); resolver.addModules(submodules); // Runtime NODE_PATH hacking.