Closed z3phyro closed 2 months ago
How exactly does this relate to solid-primitives? Is there an issue with some of our packages?
solid-presence
is a package from https://corvu.dev/docs/utilities/presence/ also solid-prevent-scroll
https://corvu.dev/docs/utilities/prevent-scroll/.
My mistake. I'll close this. Open it on corvu github. Thanks for letting me know.
Describe the bug
When running tests on a component made with Kobalte there is the following error
I could find out that it's related with the solid-presence package. The access to the main module is through a js file, but then it references jsx files. I was tinkering with it a bit and when changing the entry point to a jsx files it works for the test but not for the build or npm run dev and viceversa.
I've also noticed similar issue in solid-prevent-scroll package and the router package.
attached an image and the stackblitz example
Minimal Reproduction Link
https://stackblitz.com/edit/github-xfdh2g-4fkfdg?file=package.json