mahnunchik / gulp-responsive

gulp-responsive generates images at different sizes
https://npmjs.com/gulp-responsive
MIT License
503 stars 60 forks source link

Update README.md #39

Closed retrocausal closed 8 years ago

retrocausal commented 8 years ago

the parameter passed should be an array and only then does the glob pattern work.

mahnunchik commented 8 years ago

Hi @Nitin-Prabhakar

Both cases work:

1) Just string

return gulp.src('src/**/*.{png,jpg}')

2) Array of strings

return gulp.src(['src/**/*.{png,jpg}'])

So I've decided to close PR. Pls reopen if necessary.