Standardise WebP effort option name, deprecate reductionEffort

This commit is contained in:
Lovell Fuller
2021-11-24 18:54:30 +00:00
parent 72025051c5
commit 2b1f5cbe07
9 changed files with 68 additions and 59 deletions

View File

@@ -667,7 +667,7 @@ describe('Tile', function () {
sharp(fixtures.inputJpg)
.webp({
quality: 1,
reductionEffort: 0
effort: 0
})
.tile({
layout: 'google'