gulp-gitignore
Exlude files defined on .gitignore from the stream
Install
$ npm install --save-dev gulp-gitignore
Usage
var gulp = ;var gitignore = ; gulp;
API
gitignore(file, [pattern],[options])
file
Type: string
Default: .gitignore
The .gitignore
file.
pattern
Type: array
You can optionally pass an additional array of patterns to exlude from the stream.
;
options
Type: object
options.dot
Type: boolean
Default: false
Matches files prefixed with a dot (eg. .DS_Store
).
License
MIT © Thomas Lebeau