Answer the question
In order to leave comments, you need to log in
Why doesn't include files work in gulp-file-include module?
Good afternoon.
Who in gulp uses gulp-file-include?
There is a problem: in fact, the inclusions themselves do not work, i.e. it's just that the file is transferred from one place to another without inserting pieces of code that I include. The task code is taken from off. module pages on Npm:
gulp.task('fileinclude', function() {
gulp.src('./src/*.html')
.pipe(fileinclude({
prefix: '@@',
basepath: '@file'
}))
.pipe(gulp.dest('./src/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