diff --git a/lib/exe.js b/lib/exe.js index 78c583a..3271bfe 100644 --- a/lib/exe.js +++ b/lib/exe.js @@ -50,6 +50,8 @@ exports.compile = function (options, complete) { function writeBundle (source, next) { bundlePath = path.join(nodeCompiler.dir, "lib", "nexe.js"); _log("bundle -> %s", bundlePath); + + // same path as all the other JS files fs.writeFile(bundlePath, source, next); }, diff --git a/lib/monkeypatch.js b/lib/monkeypatch.js index da31add..7140b17 100644 --- a/lib/monkeypatch.js +++ b/lib/monkeypatch.js @@ -1,5 +1,6 @@ var async = require("async"), -fs = require("fs"); +fs = require("fs"), +_log = require("./log"); var _log = require('./log'); diff --git a/package.json b/package.json index 159d8b8..ad62889 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "author": "Craig Condon ", "name": "nexe", "description": "Roll node.s applications into a single executable", - "version": "0.2.6", + "version": "0.2.7", "repository": { "type": "git", "url": "git://github.com/crcn/nexe.git"