Fixed gulp images talk
This commit is contained in:
parent
8ce78b03fd
commit
b8ca95f714
|
@ -20,9 +20,9 @@ gulp.task('compass', function () {
|
|||
.pipe(gulp.dest(config.cssDir));
|
||||
});
|
||||
|
||||
gulp.task('image', function () {
|
||||
gulp.task('images', function () {
|
||||
// Minify images.
|
||||
gulp.src(imagesDir + '/*')
|
||||
gulp.src(config.imagesDir + '/*')
|
||||
.pipe(plugins.imagemin())
|
||||
.pipe(gulp.dest(config.imagesDir));
|
||||
});
|
||||
|
|
Reference in a new issue