sveltejs / kit

web development, streamlined
https://kit.svelte.dev
MIT License
18.43k stars 1.88k forks source link

Forcing Runes with compilerOptions.runes and ignore node_modules #11583

Closed GimpMaster closed 8 months ago

GimpMaster commented 8 months ago

Describe the problem

I would like to make sure my new projects use runes exclusively in my code that I control. However I would also like to be able to use 3rd party libraries (SuperForms) that has not upgraded to Svelte5 yet.

Describe the proposed solution

Update the compiler options to allow an ignoreNodeModules flag for runes.

Or it ignores by default?

Alternatives considered

No response

Importance

would make my life easier

Additional Information

This would be nice for the transition to Svelte 5.

GimpMaster commented 8 months ago

I see that this was already discussed here:

https://github.com/sveltejs/svelte/issues/9632

And there is a solution. Closing...