unjs / ipx

🖼️ High performance, secure and easy-to-use image optimizer.
MIT License
1.2k stars 59 forks source link

Bundle Sharp Wasm by default #215

Open pi0 opened 4 months ago

pi0 commented 4 months ago

Related. https://github.com/nuxt/image/issues/1257

Aareksio commented 4 months ago

I failed to reproduce with nitro + ipx alone. Maybe the issue has something to do with ipx not being imported directly in nuxt-image? Ref: https://github.com/nuxt/image/blob/main/src/ipx.ts#L62

lovell commented 3 weeks ago

I had a quick look at the list of issues linked to from https://github.com/nuxt/image/pull/1265 and almost all of the comments were from people using (the unmaintained) yarn v1.

The next version of sharp, v0.33.5, should improve the installation experience for those who continue to insist on using yarn v1 - see https://github.com/lovell/sharp/issues/4130 for context.