rschmukler / gulp-insert

string mutation library for gulp
MIT License
61 stars 6 forks source link

Add vinyl file object as second parameter to transform() #11

Closed bschuedzig closed 9 years ago

bschuedzig commented 9 years ago

Hey,

for a project of mine I needed access to the vinyl file object while doing the content transform (needed to add the filename as a comment for further reference).

Maybe this helps others as well..