Generated Pages Functions bundle size (69568508) is over the limit of 25.0 MiB
I am attempting to migrate to cloudflare pages using @Cloudflare/next-on-pages, i have gotten my build to work however it exceeds the 25mb limit. what can i do to reduce this?

2 Replies
the bulk of my bundle is coming nextonpagesdist/functions, what can i do to minimize this?

got this working the @mantine/core package was being bundled everywhere, fixed by adding this to nextjs config under experiemental
optimizePackageImports: ['@mantine/core', '@mantine/hooks']