From b9832f750eeb0c842b22196c302ab6d4abf031fe Mon Sep 17 00:00:00 2001 From: Ben Newman Date: Mon, 29 Feb 2016 19:22:20 -0500 Subject: [PATCH] Install aliases without cluttering the module namespace. --- index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 2a1b095d96..15cd1918e3 100644 --- a/index.js +++ b/index.js @@ -18,6 +18,11 @@ Object.keys(map).forEach(function (id) { if (typeof meteorInstall === "function") { meteorInstall({ - node_modules: meteorAliases + // Install the aliases into a node_modules directory one level up from + // the root directory, so that they do not clutter the namespace + // available to apps and packages. + "..": { + node_modules: meteorAliases + } }); }