You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey all, Wrangler has recently started presenting the following error
Error: Asset too large
Cloudflare Workers supports assets with sizes of up to 25MiB. We found a file
[REDACTED].wasm with a size of 240MiB.
Ensure all assets in your assets directory [REDACTED] conform with
the Workers maximum size requirement.
The issue is caused by debug wasm builds being very very large as you can see. The final production build is only 3MB but I don't want to throw away all the debug information during local development. Wrangler didn't used to produce this error message for local development and I was wondering if you'd consider removing this restriction or turning it into a warning for local development as development assets tend to be far large than their production counterparts.
The text was updated successfully, but these errors were encountered:
Describe the solution
Hey all, Wrangler has recently started presenting the following error
The issue is caused by debug wasm builds being very very large as you can see. The final production build is only 3MB but I don't want to throw away all the debug information during local development. Wrangler didn't used to produce this error message for local development and I was wondering if you'd consider removing this restriction or turning it into a warning for local development as development assets tend to be far large than their production counterparts.
The text was updated successfully, but these errors were encountered: