diff options
author | isaacs <i@izs.me> | 2010-08-27 22:17:25 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2010-08-27 22:17:25 +0400 |
commit | 8777cdf71d53ce9f4ee0e4e15b2340a41cedcb97 (patch) | |
tree | 853c2ad5beb4e1e2adff29867920b17e21f9cf5e | |
parent | 792280a9f9de249a71925a26026e5d0459514d49 (diff) |
Stray commas in bundle commandv0.1.27-8
-rw-r--r-- | lib/bundle.js | 2 | ||||
-rw-r--r-- | package.json | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundle.js b/lib/bundle.js index dfb5f24ff..b99f9e0b5 100644 --- a/lib/bundle.js +++ b/lib/bundle.js @@ -60,6 +60,6 @@ function writeBundleShim (location, depNames, cb) { + "if (i) require.paths.shift(__dirname)\n" + depNames.map(JSON.stringify).map(function (d) { return "exports["+d+"] = require('./'+"+d+")\n" - }) + }).join("\n") fs.writeFile(path.join(location, "index.js"), data, cb) } diff --git a/package.json b/package.json index 1e41cfe98..251b7be37 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name" : "npm" , "description" : "A package manager for node" -, "version" : "0.1.27-7" +, "version" : "0.1.27-8" , "homepage" : "http://npmjs.org/" , "author" : "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)" , "contributors" : |