From b56f4d58fd28c44db7ff53ce234aef9684967f18 Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Thu, 17 Mar 2016 02:23:49 -0400 Subject: [PATCH] Always symlink/copy local node_modules into .meteor/local/build. Part of #6500. --- tools/isobuild/bundler.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/isobuild/bundler.js b/tools/isobuild/bundler.js index b24a26376b..28067edd9b 100644 --- a/tools/isobuild/bundler.js +++ b/tools/isobuild/bundler.js @@ -1615,7 +1615,8 @@ class JsImage { // We need to find the actual file system location for the node modules // this JS Image uses, so that we can add it to nodeModulesDirectories var modulesPhysicalLocation; - if (! options.includeNodeModules || + if (nmd.local || + ! options.includeNodeModules || options.includeNodeModules === 'symlink') { modulesPhysicalLocation = nmd.getPreferredBundlePath("bundle"); } else if (options.includeNodeModules === 'reference-directly') {