Closed LeonB closed 5 years ago
Is it possible to include files that only exist in the stream?
For example: I'm generating assets from a bower manifest and I would like to include those instead of the source files:
var bowerSrc = gulp.src(bowermf() .pipe(flatten()); var appSrc = gulp.src(paths.scripts); var stream = merge(appSrc, bowerSrc); stream.pipe(debug()); stream .pipe(include()) .pipe(gulp.dest('./public/js'));
gulp-debug outputs this:
[15:26:48] gulp-debug: (2014-08-25 13:26:48 UTC) File cwd: ~/Public/advertentietool base: ~/Public/advertentietool/app/assets/javascripts/ path: ~/Public/advertentietool/app/assets/javascripts/site.js contents: //= include app/assets/vendor/jquery.js... [15:26:48] gulp-debug: (2014-08-25 13:26:48 UTC) File cwd: ~/Public/advertentietool base: app/assets/vendor path: app/assets/vendor/jquery.js contents: /*! * jQuery JavaScript Library v2.1.1...
If it's needed I can provide a repository with a simple testcase.
This issue is old, I know, but I'm not sure that this is a feature the community needs. Closing for now.
Is it possible to include files that only exist in the stream?
For example: I'm generating assets from a bower manifest and I would like to include those instead of the source files:
gulp-debug outputs this:
If it's needed I can provide a repository with a simple testcase.