UNPKG

sync-glob

Version:

Synchronize files and folders locally by glob patterns, watch option included.

13 lines (10 loc) 254 B
/* eslint-disable */ module.exports = function transform(data, target) { console.log('transform %s', target) data += '\n\nTransformed file' target = target.replace(/b\.txt$/, 'b-replaced.txt') return { data: data, target: target, } }