// Gulp task to minify all files
gulp.task('default', ['clean'], function () {
runSequence(
'styles',
'scripts',
'pages'
);
});
If you this Standart Tasks sequence from every Tutorial using, you will be got this error message.
Fixing is so simple for simple way. Because gulp.tasks(name, deps, func) method was replaced by gulp.task(name, gulp.series/gulp.parallel)(deps, func)
// Gulp task to minify all files
gulp.task('default',
gulp.series('clean', gulp.parallel('scripts', 'styles')
));
Views: 411