-
Notifications
You must be signed in to change notification settings - Fork 18
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
Svelte 4 support and ESM as default #133
Conversation
e2e/ is only used during testing, not for the transpiled source
Fixes #121 |
I guess we need to do the following things:
|
disallow calling CJS mode from processAsync
fix: set css option for svelte4
Thanks for the review @sebastianrothe. Do you think we could merge this and get a new version out? |
Yes, looks good. I am going to merge it and try to release it this evening. Should we make it a new Major? V4? |
Yeah, it's probably worthy of a new major |
Hi @benmccann @sebastianrothe, is it possible to get more info about the new config section
and why do we need a custom |
The important thing is the flag for ESM: Most projects have a dedicated tsconfig for tests, which only includes the sources for the tests. The reason is, that the compiler and tests run faster, if it doesn't have to scan the whole project. Likewise, for your default Depending on your specific |
@sebastianrothe tks for the explanation, I got it. I'm just testing the new release, and found a typo in the suggested configs: otherwise you get the error:
|
Thanks. Should be fixed with #142 |
@sebastianrothe then I got another warning about the deprecated usage of
then I removed
I can confirm that now I can run all the tests as before this release (so no breaking changes) and also I can test Svelte components and stores, that previously I could not. Tks for your time! |
This will be addressed in #142 as well. Since it is just a warning, we did not change it until now. |
Fixes #121