Open retan opened 4 years ago
Since this project seems to be inactive, even just for the moment (https://github.com/mahnunchik/gulp-responsive/issues/111), I've gone ahead and created a completely new plugin for this purpose on my own: https://github.com/robinloeffel/gulp-rezzy. It uses sharp under the hood, as well.
Sharp max function is deprecated. Instead we need to use the Sharp fit param. I made a pull request that add the fit param to gulp-responsive config : #146
Usage of
max
configuration option causes an errorimage.max is not a function
. From what I can tell the error comes from sharp, and occurs because themax
function was deprecated - see: https://sharp.pixelplumbing.com/changelog#v0210---4supthsup-october-2018