pinntech / gulp-node-slate

node-slate as a gulp task
MIT License
9 stars 0 forks source link

This should return the stream at end #3

Open OmgImAlexis opened 6 years ago

OmgImAlexis commented 6 years ago

Since this lib doesn't return the stream of files at the end of it's operation I end up piping my input file to my destination. Also by default the source should just use the dir from the slate in node_modules since it's required for this lib to run anyway.

  return gulp
    .src('swagger-api.md')
    .pipe(slate({
      source: 'docs'
    }))
    .pipe(gulp.dest('build/docs'));