Skip to content
Global exclude patterns for gulp.src and gulp.watch.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
index.js
package.json

README.md

#Gulp Global Exclude

Add exclude patterns to gulp that will be used in every .src and .watch call.

Usage:

var gulp = require('gulp');
var globalExclude = require('gulp-global-exclude');

globalExclude(gulp, ['!node_modules/**', '!build/**']);

Now '!node_modules/' and '!build/' will automatically be appended to the patterns array in any .src or .watch call.

You can’t perform that action at this time.