gulp-global-exclude

1.0.1 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i gulp-global-exclude

Weekly Downloads

6

Version

1.0.1

License

MIT

Last publish

Collaborators

  • einaregilsson