Closed PFight closed 5 years ago
Until pull request merged, created new package with this issue solved https://www.npmjs.com/package/gulp-include-ext
I'm also experiencing this issue. If you have a gulp.src
call with more than one file, only one of the resulting files will have include run on it. It would be nice to have a flag to ignore includes across separate globs.
@PFight this issue has been addressed and was included in #94, If you see this message please let me know.
I wonder if you would consider deprecating gulp-include-ext now that this feature has been merged in.
@KenEucker thanks, I have deprecated gulp-include-ext.
Awesome, thank you for your contributions!
When we pass several files, only first file is processed.
Minimal reproducing example: https://github.com/PFight/gulp-include-bug
Note, if I replace
//=require
to//=include
, then everything is works. So, gulp-include consider, thatrequire
in separate files as in one scope, and ignore secondrequire
.My files
test1.js
andtest2.js
are totally independent. How can I force gulp-include to process them separately?