tobowersT
Convex Community4mo ago
16 replies
tobowers

sharp in a bun monorepo

I'm trying to use sharp for image processing and I see it in some examples so I assume it's possible to use in a node action, but whenever I try to bundle it using the --os and --arch params for linux arm64, my convex functions fail to deploy. I've updated my convex.json to mark 'sharp' as external. My situation is a bit complicated because of using bun and using a monorepo (so everything is in a node_modules at the root).

Anyone have any experience with bun/sharp/convex ?
Was this page helpful?