solidjs-community / solid-primitives

A library of high-quality primitives that extend SolidJS reactivity.
https://primitives.solidjs.community
MIT License
1.22k stars 120 forks source link

Unknown file extension /utils/dist/reactivity/index.jsx in solid-presence #645

Closed z3phyro closed 2 months ago

z3phyro commented 2 months ago

Describe the bug

When running tests on a component made with Kobalte there is the following error

image

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

thetarnav commented 2 months ago

How exactly does this relate to solid-primitives? Is there an issue with some of our packages?

jer3m01 commented 2 months ago

solid-presence is a package from https://corvu.dev/docs/utilities/presence/ also solid-prevent-scroll https://corvu.dev/docs/utilities/prevent-scroll/.

z3phyro commented 2 months ago

My mistake. I'll close this. Open it on corvu github. Thanks for letting me know.