I ended up reporting https://github.com/
I ended up reporting https://github.com/cloudflare/next-on-pages/issues/722, as I think if solvable it could help mid/large projects move successfully to Cloudflare. I wasn't able to trace the issue, as I do see the routes being lazy loaded perfectly (e.g.
If anyone's have any ideas or things worth trying, I'm happy to try it out! Thanks!
await import(item.entrypoint)) but can't really see what wrangler is doing internally (tried --no-build with an upcoming fix and also debugging internally and couldn't really see anything wrong, route-specific code seems to be only in additionalModules, etc.).If anyone's have any ideas or things worth trying, I'm happy to try it out! Thanks!
