Skip to content

Commit

Permalink
Restore tiff option but without force option defaulting to true (#4094)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Feb 16, 2018
1 parent ace0259 commit 2a89c6d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/gatsby-plugin-sharp/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ const processFile = (file, jobs, cb) => {
quality: args.quality,
force: args.toFormat === `webp`,
})
.tiff({
quality: args.quality,
force: args.toFormat === `tiff`,
})

// grayscale
if (args.grayscale) {
Expand Down

0 comments on commit 2a89c6d

Please sign in to comment.