Merge pull request #96 from CKarper/patch-1

Support .json extensions in require() resolution
This commit is contained in:
Jared Allard
2015-02-15 07:39:13 -08:00
+2 -1
View File
@@ -62,7 +62,8 @@ function bundle (input, complete) {
filter: function (id) {
if (id == 'nexeres') { return false; } //treat our new moudle as a builtin module
return !~builtins.indexOf(id);
}
},
extensions: ['.js', '.json' ]
});
md.pipe(through(function (chunk) {
deps.push(chunk);