kvnang/workers-og

1MB limit on Cloudflare Workers Free Plan with resvg.wasm

paramaggarwal opened this issue · 1 comments

Hi, From what I understand the purpose of the library was the fix the size issue (9e3ff84) of the resvg.wasm file to be at 1.31MB.

I wanted to bring to your notice that the upstream version is also updated now: vercel/next.js#60205

Also, I am running into the 1MB size limit on Cloudflare Workers Free Plan - any suggestions about this?

Hi @paramaggarwal Since version 0.0.19, this package should be using the same resvg-wasm version (not the newest one, which is significantly larger) as the one on Vercel's. For me, it results in ~720KiB (gzip) for a simple application. Let me know if you still run into any issue, and if so, could you please detail what your app looks like? Thanks for raising the issue.