improve README

This commit is contained in:
Philipp Kunz 2016-11-25 11:21:55 +01:00
parent c208f04e23
commit 7aad993847

View File

@ -39,7 +39,7 @@ let myFunction = function (file, enc) { // file and enc are optional in case you
gulp.task('gulpTest',function() {
let stream = gulp.src('./mydir/*.something')
.pipe(gulpFunction(myFunction,'forEach')) //read the notes below
// .pipe(gulpFunction.forEach(myFunction))
// .pipe(forEach(myFunction)) // if imported as >> import { forEach } from 'gulp-function' <<
.pipe(gulp.dest("./build/"));
return stream; // by returning the stream gulp knows when our task has finished.
});