unjs / ipx

๐Ÿ–ผ๏ธ High performance, secure and easy-to-use image optimizer.
MIT License
1.2k stars 59 forks source link

refactor: jpeg progressive setting via sharpOptions #198

Closed jameswragg closed 5 months ago

jameswragg commented 7 months ago

๐Ÿ”— Linked issue

โ“ Type of change

๐Ÿ“š Description

Rather than hardcode all jpeg's to be progressive, supply it as a default Sharp option that can be changed if needed.

๐Ÿ“ Checklist

jameswragg commented 6 months ago

Not sure how to re-run the checks.

pi0 commented 5 months ago

Thanks!