Answer the question
In order to leave comments, you need to log in
Gulpfile SRC. How to include all folders except '_**'?
There is a build task:
var buildFiles = gulp.src([
'!node_modules', '!_*/', '**/*.html',
'*.html',
'.htaccess',
]).pipe(gulp.dest('_site'));
'**/*.html',
and at the same time exclude node_modules and folders that have '_site' at the beginning for example (lower slash). Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question