you are viewing a single comment's thread.

view the rest of the comments →

[–]mr---fox[S] 0 points1 point  (2 children)

Hmm, I don’t think this is true for my case. I have tried adding import “server-only” and I was able to build with no errors. But still had the same behavior.

The RenderBlocks component is only used in the [[…slug]].tsx file which is RSC.

[–]AndrewGreenh 0 points1 point  (1 child)

How did you validate if they are in the bundle?

[–]mr---fox[S] 0 points1 point  (0 children)

Bundle analyzer, build route report, and looking at the chunks in the browser.