Skip to content

Source virtual gulp files through a constructor function

Notifications You must be signed in to change notification settings

nolotz/gulp-virtual-src

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gulp Virtual Source

Create virtual gulp files through a constructor function instead of the usually used gulp.src().

How to use it?

npm install gulp-virtual-src

// gulpfile.js
import gulp from 'gulp'
import virtualSrc from 'gulp-virtual-src'

function dynamicTask() {
    return virtualSrc(
        [
            () => ['readme.md', `# Welcome`]
        ]
    )
        .pipe(anotherGulpPlugin())
        .pipe(gulp.dest('myDestination/'))
}

About

Source virtual gulp files through a constructor function

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published