Next.js Error: Function Script over 1MiB size limit

Recieved this Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)

How to tackle? All I did was added auth with clerkdev. I am using edge functions.
Was this page helpful?