-
Notifications
You must be signed in to change notification settings - Fork 66
Closed
Description
When we pass several files, only first file is processed.
// only test1.js is processed, test2.js is ignored
gulp.src(["test1.js", "test2.js"])
.pipe(gulpInclude())
.pipe(gulp.dest("./out"));
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, that require in separate files as in one scope, and ignore second require.
My files test1.js and test2.js are totally independent. How can I force gulp-include to process them separately?
Metadata
Metadata
Assignees
Labels
No labels