Docs: Fix error in ES2015 usage example (fixes #2099) (#2100) · gulpjs/gulp@a4e8d48

Original file line numberDiff line numberDiff line change

@@ -197,8 +197,8 @@ export { watchFiles as watch };

197197

* You can still use `gulp.task`

198198

* for example to set task names that would otherwise be invalid

199199

*/

200-

const clean = gulp.series(clean, gulp.parallel(styles, scripts));

201-

gulp.task('clean', clean);

200+

const build = gulp.series(clean, gulp.parallel(styles, scripts));

201+

gulp.task('build', build);

202202
203203

/*

204204

* Export a default task