PlayForm / Compress

🗜️ Compress —

Home Page:https://NPMJS.Org/@playform/compress

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sharp dependency

wiesson opened this issue · comments

I got some build errors on vercel because of the Sharp dependency. I'm not using any sharp related features, would it be possible to remove it? I'm also not sure if it works with the Edge runtime but I'll have to verify that.

I have the same issue. Downgrading Sharp to 0.31.3 would make it work again. It seems that the dependency needs to be updated to 0.32.0 to be in sync with the peer dependency that the latest version of Astro uses.

You can try the no-sharp branch https://github.com/astro-community/astro-compress/tree/no-sharp

npm install -D -E astro-community/astro-compress#no-sharp

Hope this helps!