Is there way to pass parameters to performChange function from task. Such that
function performChange(content, someFlag) {
return content.replace(/foo/g, someFlag);
}
gulp.task('change', function() {
return gulp.src('src/*.html')
.pipe(change(performChange)) // pass someFlag HOW?
.pipe(gulp.dest('build/'))
});
Is there way to pass parameters to
performChangefunction from task. Such that