Answer the question
In order to leave comments, you need to log in
How to prescribe in Gulp rigger so that auxiliary files are not copied?
I use for include palgin Gulp rigger
gulp.task('htmlrigger', function () {
gulp.src('Dev/*.html')
.pipe(rigger())
.pipe(gulp.dest('Dist/'))
});
Answer the question
In order to leave comments, you need to log in
Here is my version of the task, auxiliary files are not added to build
var src = {
html: ['./src/*.html']
}
gulp.task('html', function() {
gulp.src(src.html)
.pipe(rigger())
.pipe(gulpIf(env !== 'dev', minifyHTML()))
.pipe(gulp.dest(outputDir))
.pipe(connect.reload())
});
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question