include all node.js builtins
This commit is contained in:
+3
-2
@@ -3,7 +3,8 @@ through = require("through"),
|
||||
async = require("async"),
|
||||
path = require("path"),
|
||||
fs = require("fs"),
|
||||
uglify = require("uglify-js");
|
||||
uglify = require("uglify-js"),
|
||||
builtins = require("builtins");
|
||||
|
||||
function bundle (input, complete) {
|
||||
|
||||
@@ -60,7 +61,7 @@ function bundle (input, complete) {
|
||||
|
||||
},
|
||||
filter: function (id) {
|
||||
return !~["http"].indexOf(id);
|
||||
return !~builtins.indexOf(id);
|
||||
}
|
||||
});
|
||||
md.pipe(through(function (chunk) {
|
||||
|
||||
+11
-10
@@ -2,26 +2,27 @@
|
||||
"author": "Craig Condon <craig.j.condon@gmail.com>",
|
||||
"name": "nexe",
|
||||
"description": "Roll node.s applications into a single executable",
|
||||
"version": "0.3.1",
|
||||
"version": "0.3.2",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git://github.com/crcn/nexe.git"
|
||||
},
|
||||
"main": "./lib/index.js",
|
||||
"dependencies": {
|
||||
"outcome": "0.0.18",
|
||||
"sprintf": "~0.1.3",
|
||||
"step": "0.0.x",
|
||||
"optimist": "~0.3.7",
|
||||
"request": "~2.12.0",
|
||||
"ncp": "~0.2.7",
|
||||
"mkdirp": "~0.3.5",
|
||||
"async": "~0.2.10",
|
||||
"builtins": "0.0.5",
|
||||
"colors": "~0.6.2",
|
||||
"glob": "~3.2.9",
|
||||
"progress": "~1.1.3",
|
||||
"tar.gz": "0.1.1",
|
||||
"mkdirp": "~0.3.5",
|
||||
"module-deps": "^3.5.4",
|
||||
"ncp": "~0.2.7",
|
||||
"optimist": "~0.3.7",
|
||||
"outcome": "0.0.18",
|
||||
"progress": "~1.1.3",
|
||||
"request": "~2.12.0",
|
||||
"sprintf": "~0.1.3",
|
||||
"step": "0.0.x",
|
||||
"tar.gz": "0.1.1",
|
||||
"through": "^2.3.4",
|
||||
"uglify-js": "^2.4.15"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user