disable image-min

This commit is contained in:
Jarrad Hope 2016-11-09 18:35:12 +08:00
parent 171923e8c6
commit 8f5e52a7b7

View File

@ -62,12 +62,12 @@ gulp.task('clean', function() {
gulp.task('images', function() {
return gulp.src('src/img/**/*')
.pipe(plumber())
.pipe(imagemin({
interlaced: true,
progressive: true,
svgoPlugins: [{removeViewBox: false}],
use: [pngquant()]
}))
// .pipe(imagemin({
// interlaced: true,
// progressive: true,
// svgoPlugins: [{removeViewBox: false}],
// use: [pngquant()]
// }))
.pipe(gulp.dest('build/img'));
});