UNPKG

v-kitty

Version:

hello kitty

23 lines (16 loc) 501 B
var include = require('./lib/include.js'); var through = require('through-gulp'); var Build = function(){ var stream = through(function(file,encoding,callback){ if(file.isBuffer()){ var newContent = include(file.history[0],file.contents.toString()); file.contents = new Buffer(newContent); } this.push(file); callback(); }); return stream; }; Build.config = include.config; Build.loader = include.loader; module.exports=Build;