-
Notifications
You must be signed in to change notification settings - Fork 31
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
quokka breaks when tsconfig extends with multiple files #959
Comments
Thanks for reporting this issue. The underlying problem is that We'll update quokka to use a new release of ts-node which includes this fix when it becomes available, but in the meantime we'll see if there's anything we can do to address this issue without requiring the workaround described above. |
Thanks @mburnell for your explanation and reply. For now I have slightly reorganised my code to avoid this issue. Will look forward to the build where this is fixed. |
It looks like ts-node is out of maintenance and the problem has been going on for over a year. Is there any other runtime to consider? |
@smallmain - it will require a little configuration, but you should be able to configure Quokka to use vite with We have plans to add first class support for Quokka to use |
Issue description or question
Is this issue related to Quokka not outputting the expected results of your code?: Yes
Since
5.0
typescript allows tsconfig to be extended with multiple files.However, current version of quokka breaks when multiple files are passed in an array inside tsconfig.json
Sample code
index.ts
tsconfig.a.json
tsconfig.b.json
tsconfig.json
Sample repository link
If the issue can not be reproduced just using the quokka file above
(for example because it requires/imports some files from your project),
please create a small repository where the issue can be reproduced.
Quokka.js Console Output
Code editor version
IntelliJ IDEA 2024.2 EAP (Ultimate Edition)
Build #IU-242.19890.14, built on July 3, 2024
quokka.js (1.0.451)
OS name and version
OSX Sonoma 14.5
The text was updated successfully, but these errors were encountered: