Next on Pages with Next 14 suddenly produces huge build package.

Just upgraded to Next14 on a project, and now npx @cloudflare/next-on-pages produces a huge 45MB output and I get the Error: Failed to publish your Function. Got error: Your Functions script is over the 1 MiB size limit (workers.api.error.script_too_large)

Is this a known issue when switching to Next14, I'm aware it only came out a little bit ago. Or is this something more to do with my project?

Also while debugging and building using npx @Not Cloudflare :)/next-on-pages I keep getting asked to log into vercel, but that only happened after a few tries, what's up with that?
Was this page helpful?