We use Next.js with React and styled-components.
I wrapped a few of our components into
When I run a developer environment locally and point the Builder’s live editing at localhost, everything works. I can see my custom components at the component palette, I can drop them onto the page.
However, once I deploy the code to a test environment, Builder does not pick up my components. Everything else works, live editing works. But my components are not at the palette. The components I dropped onto the page previously, are replaced with 0-height boxes.
It looks like my code doesn’t register the components with Builder.
The only difference between dev localhost and test I can think of is that test uses production next.js and React builds.
I register Builder components in Next.js
Is there any way to troubleshoot the issue?