Build Failing due to bundle size limit

Hello, I am not able to deploy my website on Cloudflare Pages. I am getting error Pages Function bundle size limit.
Generated Pages Functions bundle size (65531101) 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
Generated Pages Functions bundle size (65531101) 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
generated next functions logs https://gist.github.com/nil1511/406a020eb2e9dd06ecd7f4f39d151482
3 Replies
<Moncef/>
<Moncef/>6mo ago
we are in the same situation idk i deployit by adding out derectory to the repo but when i deploy it cant even visit the website in the other hand when i deploy to vercel it work easly
nil1511
nil1511OP6mo ago
noticed one more thing, next build is taking around 5min and next-on-pages build is taking additional 15min for transpiling the next output. it does not seems to be scalable with many pages.
Zane
Zane4mo ago
I have encountered the same problem, is there a solution now?
Want results from more Discord servers?
Add your server