Next.js Discord

Discord Forum

Edge function is 675K locally and on vercel exactly 1MB so that it fails to build on the free plan

Unanswered
Ocicat posted this in #help-forum
Open in Discord
OcicatOP
So yeah, how do they calculate the size on remote and why I didn't have this problem until yesterday.
I also had more packages installed and used in the edge function and before it worked, now it just doesn't. I removed a lot of the code with which before yesterday it still worked and built successfully, now it's literally 675K locally but on vercel it's too big.

1 Reply

OcicatOP
up