Conditional gulp task inside gulp.paralell() or gulp.series()
问题 Too much information about conditions tasks inside pipes (e. g. "gulp-if" plugin). However, actually it is not "conditional tasks": it is the "conditional plugin usage", and one task can use multiple plugins. Here is how to conditionally run task NOT inside pipe (for example, inside gulp.paralell() ) Suppose that task name can contain spaces for providing easy-to-understand task meaning. gulp.task('Build', gulp.paralell( 'Preprocess HTML', 'Prepeocess styles', done => { if(checkSomeCondition(