Answer the question
In order to leave comments, you need to log in
How to configure gulp-rigger to specify multiple paths in gulp.src?
Project Structure
build/
__content/
____page.html
__index.html
src/
__templates/
__css/
__js/
__content/
____page.html
__index.html
__contacts.html
gulp.task('html-equip', function(){
return gulp.src(['src/content/*.html', 'src/*.html'])
.pipe(rigger())
.pipe(gulp.dest('build/'))
.pipe(connect.reload());
});
Answer the question
In order to leave comments, you need to log in
try like this
gulp.src(['src/*.html','src/content1/*.html','src/content2/*.html'],{base:'src'})
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question