Mark `squoosh` as deprecated
dartess opened this issue · 3 comments
Documentation Is:
- Missing
- Needed
- Confusing
- Not Sure?
Please Explain in Detail...
squoosh
is no longer maintained: https://www.npmjs.com/package/@squoosh/lib
It also has memory leak issues that we encountered during deployment: GoogleChromeLabs/squoosh#1195 . For the reason above, this will not be fixed.
I think this is enough to mark the package as deprecated.
Also link in Optimize with [squoosh](https://github.com/GoogleChromeLabs/squoosh/tree/dev/libsquoosh)
broken
Your Proposal for Changes
Yeah, PR welcome
imagemin
is too heavy, and squoosh
is not working on Nodejs 18+.
Now I am using these packages instead:
- https://www.npmjs.com/package/@astropub/codecs
- https://www.npmjs.com/package/@volue/wasm-codecs-gifsicle
It's time to create new minimizes for image-minimizer-webpack-plugin
,
for example: https://github.com/best-shot/best-shot/blob/03d837dac3ba76ea5b37f676183d74fb0ab165b3/packages/preset-asset/lib/minify.mjs
@Airkro Do you want to send a PR? It should be easy