Fixed gulp images talk

This commit is contained in:
Oliver Davies 2016-01-05 18:57:18 +00:00
parent 8ce78b03fd
commit b8ca95f714

View file

@ -20,9 +20,9 @@ gulp.task('compass', function () {
.pipe(gulp.dest(config.cssDir)); .pipe(gulp.dest(config.cssDir));
}); });
gulp.task('image', function () { gulp.task('images', function () {
// Minify images. // Minify images.
gulp.src(imagesDir + '/*') gulp.src(config.imagesDir + '/*')
.pipe(plugins.imagemin()) .pipe(plugins.imagemin())
.pipe(gulp.dest(config.imagesDir)); .pipe(gulp.dest(config.imagesDir));
}); });