As it stands, vinyl-map can't be easily combined with the gulp-data plugin since the mapping function only sees file.path, not the file object itself. It would be nice if you could pass the full file object as a third parameter, so that the transformation can take its data into account, and perhaps also anything else it might be carrying.
As it stands, vinyl-map can't be easily combined with the gulp-data plugin since the mapping function only sees
file.path
, not the file object itself. It would be nice if you could pass the fullfile
object as a third parameter, so that the transformation can take its data into account, and perhaps also anything else it might be carrying.