Answer the question
In order to leave comments, you need to log in
How to write a dependency task for includes?
Good afternoon. I use the gulp-file-include package to include identical pieces of html on different pages (footer, header, etc.). I recently learned about it, it looks like this:since: gulp.lastRun("html")
return gulp.src(["src/*.html", "src/blocks/**/*.html"], {base: "src", since: gulp.lastRun("html")})
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