gulp-broadcast
v0.1.0
Published
Broadcast the output of a plugin to multiple plugins at once
Downloads
1
Readme
gulp-broadcast
gulp-broadcast is a gulp plugin to rename files easily.
Usage
gulp-broadcast provides an easy way to broadcast the output file of a gulp plugin to multiple writable streams consuming a file.
It returns the file received too.
const broadcast = require("gulp-broadcast");
const { src, dest } = require("gulp");
src("./src/*")
.pipe(
broadcast(
dest('./testing2').pipe(dest('./testing1/hola')),
dest('./testing1')
)
).pipe(dest("/final"))