Disable static generation in Next?
I recently migrated my whole code base to RSC and something is really driving me crazy. It seems that next build is trying to execute my server code at build time even tho I have only server rendered pages. I tried to
const dynamic = 'force-dynamic'
but it doesn't change anything my build is always failing at "Generating static pages". Is there a way to disable this thing altogether? Sure I can add try catches everywhere but what's the point?0 Replies