Skip to content

Commit

Permalink
Merge pull request #60 from leocaseiro/patch-1
Browse files Browse the repository at this point in the history
Fix documents with references from #55
  • Loading branch information
sindresorhus committed Mar 4, 2016
2 parents 317ec39 + 922496e commit a551307
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ const filter = require('gulp-filter');

gulp.task('default', () => {
// create filter instance inside task function
const f = filter(['*', '!src/vendor']);
const f = filter(['**', '!*src/vendor']);

return gulp.src('src/*.js')
return gulp.src('src/**/*.js')
// filter a subset of the files
.pipe(f)
// run them through a plugin
Expand All @@ -45,9 +45,9 @@ const filter = require('gulp-filter');

gulp.task('default', () => {
// create filter instance inside task function
const f = filter(['*', '!src/vendor'], {restore: true});
const f = filter(['**', '!*src/vendor'], {restore: true});

return gulp.src('src/*.js')
return gulp.src('src/**/*.js')
// filter a subset of the files
.pipe(f)
// run them through a plugin
Expand Down Expand Up @@ -93,9 +93,9 @@ const uglify = require('gulp-uglify');
const filter = require('gulp-filter');

gulp.task('default', () => {
const f = filter(['*', '!src/vendor'], {restore: true, passthrough: false});
const f = filter(['**', '!*src/vendor'], {restore: true, passthrough: false});

const stream = gulp.src('src/*.js')
const stream = gulp.src('src/**/*.js')
// filter a subset of the files
.pipe(f)
// run them through a plugin
Expand Down

0 comments on commit a551307

Please sign in to comment.