Good day, StackOverflow community. Most recently, I started to deal with gulp and ran into a problem: when adding the same file to src, it starts to be ignored after the first processing.
For example,
gulp.src(['file1.html', 'file2.html', 'file1.html']) .pipe(concat('all.html')) .pipe(gulp.dest('/dir')); Unfortunately, after running the script in all.html, only the following structure is obtained:
- file1.html
- file2.html
And that is all. Has anyone encountered a similar problem? Do not tell me how to solve it?