output file includes unnecessary pug file
yoyoys opened this issue · 1 comments
yoyoys commented
I used gulp-parcel
to build files,
everything works fine, but i got unnecessary pug file at dist folder.
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'))
});
yoyoys commented
sorry, it's an issue for gulp-parcel
.
i think pipe(gulp.dest('dist'))
is no use, but it makes no sense.