You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you use vite-plugin-solid in a library vite config
even when ssr = true, It still uses solid/web template function for the jsx like this which is only available in the client package
As you can see, this is the output of the cjs bundle, built using this vite config
This is ofcourse a jsx transformation error, jsx should be transformed to appropriate code for cjs and esm bundles, so they can work in ssr and browser modes perfectly
Activity
brenelz commentedon Sep 11, 2026
The configuration above needs build.ssr: true in addition to solidPlugin({ ssr: true }).
If you add that and still have issues please open another issue.