Has anyone used @vercel/og with next-on-

Has anyone used @vercel/og with next-on-pages? I'm trying to use its functionality but every time I add it, the function size blows up and it throws an error during deployment. (Left side is with @vercel/og, right side without). I'm not sure if i can trim it down further. Anyone got any suggestions what else I could try or should I just not use it as it's not feasible in a worker?
No description
2 Replies
James
James14mo ago
@vercel/og uses very big wasm files and is a rather chonky dep, so your worker size will increase a lot. Afraid there's not much that can be done if you want to use vercel/og...
num
numOP14mo ago
thanks yeah that's what i thought. I guess i can work around that as it's not that big of a requirement
Want results from more Discord servers?
Add your server