D
D
Daniil Chashkov2019-06-01 15:22:10
gulp.js
Daniil Chashkov, 2019-06-01 15:22:10

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

and between:
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 question

Ask a Question

731 491 924 answers to any question