I made a small PoC that implements support for <script lang="res"> in .svelte files. There’s plenty of things to fix, but this shows that it’s possible: GitHub - zth/rescript-svelte-example: PoC of supporting `lang="res"` in Svelte.
Happy to see someone pick this up and explore more of it.