mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
add clarifying comment
This commit is contained in:
committed by
David Glasser
parent
afd5094468
commit
d50ccd2dbc
@@ -419,6 +419,7 @@ _.extend(Bundle.prototype, {
|
||||
// directory within the bundle
|
||||
bundleNodeModules: function (pkg) {
|
||||
var nodeModulesPath = path.join(pkg.npmDir(), 'node_modules');
|
||||
// use '/' rather than path.join since this is part of a url
|
||||
var relNodeModulesPath = ['packages', pkg.name, 'node_modules'].join('/');
|
||||
this.nodeModulesDirs[relNodeModulesPath] = nodeModulesPath;
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user