Ty3uK/parcel-plugin-pug

output file includes unnecessary pug file

yoyoys opened this issue · 1 comments

I used gulp-parcel to build files,
everything works fine, but i got unnecessary pug file at dist folder.

here is my src and dist.
image

and gulp task here:

var gulp =require('gulp'),
  parcel = require('gulp-parcel');

gulp.task('build',function(){
  gulp.src('src/**/*.{html,pug}',{read:false})
    .pipe(parcel({
      outDir:'dist', 
      publicURL: './',
      watch:true
    }, {source: 'src'}))
    .pipe(gulp.dest('dist'))
});

sorry, it's an issue for gulp-parcel .
i think pipe(gulp.dest('dist')) is no use, but it makes no sense.