unjs / ipx

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

Bundle Sharp Wasm by default #215

Open pi0 opened 9 months ago

pi0 commented 9 months ago

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

Aareksio commented 9 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 5 months 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.

eddie-englund commented 1 month ago

Hi,

I'm having this issue with PNPM 9.9.0