17 lines
463 B
TypeScript
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);
|
|
});
|
|
};
|
|
}
|
|
} |