Skip to content

Commit

Permalink
images: replace jpegtran with mozjpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
enzy committed Feb 28, 2020
1 parent b4361b2 commit 9b35412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tasks/images.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ module.exports = function(gulp, config) {
if(!config.devmode) {
task = task.pipe(imagemin([
imagemin.gifsicle(),
imagemin.jpegtran({ progressive: true }),
imagemin.mozjpeg({ progressive: true }),
imagemin.optipng(),
imagemin.svgo({ plugins: [{ removeViewBox: false }] })
]))
Expand Down

0 comments on commit 9b35412

Please sign in to comment.