Install aliases without cluttering the module namespace.

This commit is contained in:
Ben Newman
2016-02-29 19:22:20 -05:00
parent 3aeadefda2
commit b9832f750e

View File

@@ -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
}
});
}