code: function pipify(task) {
  
     const options = task.base ? { base: task.base } : {}
  
     let stream = gulp.src(task.src, options)
  
     // This is used to abort any further transforms in case of error.
     const state = { error: false }
  
     for (const transform of task.transforms)
        stream = stream.pipe(transform.pipe ? transform : pluginate(transform, state))
  
     if (task.rename)
        stream = stream.pipe(rename(task.rename))
  
     if (task.dest)
        stream = stream.pipe(gulp.dest(task.dest))
  
     return stream
  
  }
docs: Convert transform functions to a Stream.