CLI to build and develop Next.js apps for Cloudflare Pages
### next-on-pages environment related information it gets ran on pages, not locally. ### Description Adding routes to my project increased bundle size from 3KB to 28MB. By route, I mean a structure in the App router such as "/farm/[farmId]". The build size is acceptable (about 2mb). Next-on-pages then tacks on massive *.func.js files. Here are some build logs, showing an increase from 3KB to 9MB (after adding the first few routes). No major changes to the site were made besides routes. [buildWithoutRoutes.log](https://github.com/user-attachments/files/18425620/buildWithoutRoutes.log) [buildWithRoutes.log](https://github.com/user-attachments/files/18425621/buildWithRoutes.log)     ### Reproduction _No response_ ### Pages Deployment Method Pages CI (GitHub/GitLab integration) ### Pages Deployment ID 69a0f73b-0890-426c-bb16-9fd13478059e ### Additional Information May be related: #330 https://github.com/getsentry/sentry-javascript/issues/13723 Not sure if this is me misusing next/pages. My apologies if it is. ### Would you like to help? - [ ] Would you like to help fixing this bug?
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by JPBotelho and has received 0 comments.