Keep images from becoming over optimize... revisit this later

This commit is contained in:
Michael Rose 2016-03-20 15:20:54 -04:00
parent 780b30c9f6
commit 60de8f20aa
3 changed files with 2 additions and 2 deletions

View file

@ -74,11 +74,11 @@ gulp.task('jslint', function() {
gulp.task('images', function () {
return gulp.src('images/*')
.pipe(imagemin({
optimizationLevel: 7,
// optimizationLevel: 7,
progressive: true,
interlaced: true,
svgoPlugins: [{removeViewBox: true}],
use: [imageminMozjpeg()]
// use: [imageminMozjpeg()]
}))
.pipe(gulp.dest('images'));
});

Binary file not shown.

Before

Width:  |  Height:  |  Size: 0 B

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 104 KiB

After

Width:  |  Height:  |  Size: 0 B