Closed madeleineostoja closed 2 years ago
Hi! Yeah, you're right: we need to add package.json to "exports" field. Going to fix that as soon as I have time.
P.S. PR are also welcome :)
Hey! Just released v2.9.2
. Everything should be good now.
Please let me know about the results: if it helps I would add the same fix to all my packages.
Yep that fixes Vite compat, thanks!
When trying to import
colord
with Vite (via Sveltekit), the bundler throws the following error:Not entirely sure what's going on but on the surface of it it looks like Vite requires access to the package's
package.json
for analysis, and since it's not exposed viaexports
it's throwing an error