mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Install aliases without cluttering the module namespace.
This commit is contained in:
7
index.js
7
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
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user