Answer the question
In order to leave comments, you need to log in
What is the difference between tasks?
Is there any particular difference between:
function js () {
return src('src/js/*.js')
.pipe(babel())
.pipe(dest('build/js/'))
}
exports.default = parallel(js)
exports.js = js
function js () {
return src('src/js/*.js')
.pipe(babel())
.pipe(dest('build/js/'))
}
gulp.task('js', js)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question