Closed att55 closed 3 years ago
Hi there!
I found that the warning of blurredPlaceholders was shown even if blurredPlaceholders option was disabled. https://github.com/ampproject/amp-toolbox/tree/main/packages/optimizer#blurry-image-placeholders
AMP Optimizer AddBlurryImagePlaceholders WARNING jimp and lru-cache need to be installed via `npm install jimp lru-cache` for this transformer to work
I don't think there is a need to show the waring when the option is disabled. So, I change that the waring is shown only when the option is enabled.
All committers have signed the CLA.
Overview
Hi there!
I found that the warning of blurredPlaceholders was shown even if blurredPlaceholders option was disabled. https://github.com/ampproject/amp-toolbox/tree/main/packages/optimizer#blurry-image-placeholders
I don't think there is a need to show the waring when the option is disabled. So, I change that the waring is shown only when the option is enabled.