UNPKG

steal-tools

Version:

Futuristic build tools for ES6 Module applications.

13 lines (11 loc) 289 B
var through = require("through2"); module.exports = function(type) { return through.obj(function(buildResult, enc, next) { try { buildResult.buildType = type; next(null, buildResult); } catch (err) { next(err); } }); };