-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Importing kuvio blows up Astro (astro dev) #13
Comments
Thanks for the reproduction! It looks like this is because kuvio exports a function called It feels pretty ridiculous that this is a problem. Thanks, designers of Promises! I can rename the function, though |
🎉 This issue has been resolved in version 2.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@skeate thanks for checking this! .then issue is funny indeed, I wonder if it's Astro bug actually I re-checked Schemata itself (without explicit kuvio import) just to be sure: it seems it doesn't hang the page. Schemata uses kuvio in definitions though so explicit import |
You should be able to upgrade schemata-ts to https://github.com/jacob-alford/schemata-ts/releases/tag/2.2.5 |
import * as k from 'kuvio'; k.exactString('test');
to Index.astronpx astro dev
I found this issue through using a react component with schemata-ts imported. Although the example is not a real use case, it shows that kuvio can hang Astro setups through being imported as a dependency of another library.
Reproduction: https://github.com/dearlordylord/kuvio-astro-hang
The text was updated successfully, but these errors were encountered: