var GulpBrowserBrowserify;
(function (GulpBrowserBrowserify) {
function init() {
return function () {
//this is the trough object that gets returned by gulpBrowser.browserify();
return through.obj(function (file, enc, cb) {
var content = file.content;
var basedir = file.base;
//run callback function to signal end of plugin process.
return cb(null, file);
});
};
}
GulpBrowserBrowserify.init = init;
})(GulpBrowserBrowserify || (GulpBrowserBrowserify = {}));
///
///
var through = require("through2");
var path = require("path");
var browserify = require("browserify");
//create the return object
var gulpBrowser = {};
gulpBrowser.browserify = GulpBrowserBrowserify.init();
module.exports = gulpBrowser;