
import gulp from 'gulp';

module.exports = (opts = {}) => {
  gulp.task('html', () => {
    gulp.src(opts.entry)
      .pipe(gulp.dest(opts.output));
  });

  gulp.task('html:watch', () => {
    gulp.watch(opts.watchSrc || opts.entry, ['html']);
  });
};