https://github.com/pfight/gulp-include-bug
Minimal reproduce example for bug of gulp-include when several files processed
https://github.com/pfight/gulp-include-bug
Last synced: 15 days ago
JSON representation
Minimal reproduce example for bug of gulp-include when several files processed
- Host: GitHub
- URL: https://github.com/pfight/gulp-include-bug
- Owner: PFight
- License: mit
- Created: 2018-06-18T13:40:55.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T13:47:07.000Z (about 8 years ago)
- Last Synced: 2025-11-18T18:25:43.719Z (7 months ago)
- Language: JavaScript
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Steps to reproduce
1. npm install
2. gulp run
3. Look at out/test2.js. It contains:
//=require to-include.js
But should contain same as out/test1.js, i.e:
// It is included content!
So, when we process several files like this:
gulp.src(["test1.js", "test2.js"])
.pipe(gulpInclude())
.pipe(gulp.dest("./out"));
Only first file is processed by gulp-include. All other files are ignored.