gulp-browser/ts/modulebrowserify.ts

17 lines
463 B
TypeScript
Raw Permalink Normal View History

2015-10-24 16:26:41 +00:00
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);
});
};
}
}