For Workes & Pages, what is the name of the domain?
What is the error number?
What is the error message?
Compiled Worker successfully - Generated Pages Functions bundle size (26809243) is over the limit of 25.0 MiB - Failed: generating Pages Functions failed. Check the logs above for more information. If this continues for an unknown reason, contact support: https://cfl.re/3WgEyrH
What is the issue or error you’re encountering
The issue, is we develop Next.js 14 with App router,hosted it and everything fine, but when we added Sentry, it significantly inacrease the post-build under “Attaching additional modules”. The bundle size is correct, but the additional modules our of limit.
What are the steps to reproduce the issue?
Next.js app with Sentry
During the build:
…
/[locale]/about-us 343 B 188 kB
… (everything is fine, and localy bundle size is the same)
Generated ‘.vercel/output/static/_worker.js/index.js’.
Build completed in 24.14s
Finished
Found _worker.js in output directory. Uploading.
wrangler 3.76.0
Attaching additional modules: (!!! Under this, probably CL runs own commands that I can’t verify localy)
…
next-on-pages-dist/functions/[locale]/about-us.func.js │ esm │ 1218.56 KiB │
… It basically adds the 1.2 MB to each page