Bundling Component SSR Compatible library - sharedConfig is undefined
Hello,
I'm trying to create a SolidJS Component library which will be imported into an Astro project. Most of the components will be hydrated, which means they will be rendered in the server. I used the
This is my vitejs config :
When I try then to import my library to an Astro project, it tells me the following when I try to render one of the component :
This is the generated code :
Does anyone know what am I missing here ?
I'm trying to create a SolidJS Component library which will be imported into an Astro project. Most of the components will be hydrated, which means they will be rendered in the server. I used the
ssr:true option of vite solidPlugin, but I'm facing an issue,This is my vitejs config :
When I try then to import my library to an Astro project, it tells me the following when I try to render one of the component :
This is the generated code :
Does anyone know what am I missing here ?
