gulp-browser/ts/modulebrowserify.ts
2015-10-24 18:26:41 +02:00

17 lines
463 B
TypeScript

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