cgross / gulp-dom-src

Create a gulp stream from script, link, or any set of tags in an HTML file.
MIT License
41 stars 8 forks source link

Vinyl-fs throws Error: Received a non-Vinyl object in `dest()` #6

Open joshharrison626 opened 6 years ago

joshharrison626 commented 6 years ago

With newest update of Vinyl-fs, gulp-dom-src isn't returning a properly formatted vinyl type that vinyl-fs can consume.

domSrc({ file: files.app.indexHtml, selector: 'script', attribute: 'src' }) .pipe(...) .pipe(gulp.dest(...));

Error: Received a non-Vinyl object in dest()

$ gulp -v [12:06:08] CLI version 2.0.0 [12:06:08] Local version 4.0.0 Gulp ^4.0.0 using Vinyl-FS^3.0.0