UNPKG

@tangelo/tangelo-configuration-toolkit

Version:

Tangelo Configuration Toolkit is a command-line toolkit which offers support for developing a Tangelo configuration.

12 lines (9 loc) 292 B
// replacement for the official (but deprecated) gulp-simple-rename // kept same name because of usage in tdi const through2 = require('through2'); module.exports = (fn) => { return through2.obj((file, enc, cb) => { file.path = fn(file.path); cb(null, file); }); };