Closed retrocausal closed 8 years ago
Hi I have followed whatever documentation is available from the readme here and configured mu gulpfile like so:
**
var $ = require('gulp'); var uglify = require('gulp-uglify'); var minifyCss = require('gulp-minify-css'); var responsive = require('gulp-responsive');
$.task('responsive-images', function() { $.src('images_src/*.jpg').pipe(responsive({ '*.jpg': [{ width: 480, rename: false }, { width: 640, rename: false } ] }, { quality: 50, progressive: true })).pipe($.dest('build/images/')); });
The pattern match string in $.src('images_src/*.jpg) is not working. No files are matched
I submitted a pull request after stumbling on the solution.
that parameter passed to gulp.src is an array and not a string. Its working now
I have edited your readme with the solution
Hi I have followed whatever documentation is available from the readme here and configured mu gulpfile like so:
**
**
The pattern match string in $.src('images_src/*.jpg) is not working. No files are matched