gulp-tap
Easily tap into a pipeline.
Install
npm install gulp-tap --save-dev
Uses
Some filters like gulp-coffee
process all files. What if you want to process
all JS and Coffee files in a single pipeline. Use tap
to filter out .coffee
files and process them through the coffee
filter and let JavaScript files
pass through.
gulp ;
What if you want to change content like add a header? No need for a separate filter, just change the content.
;
If you do not return a stream, tap forwards your changes.
Examples
See Wiki for more examples.
License
The MIT License (MIT)