Hey, thanks for the plugin, I found it quite interesting to see Svelte apps across the web!
I found that our svelte apps are not detected by it. Probably because the class generation rules was changed. As an example, in my personal project de.pavli.cc class names are prefixed with s-
. This is the default behavior, I didn't change anything.
Relying on s-
prefix is pretty generic and could produce false-positive results tho.
However sveltekit apps often use svelte-* data attributes like data-sveltekit-preload-data="hover"
, so we can maybe check it?
Like
document.querySelectorAll('[data-sveltekit-preload-data],[data-sveltekit-preload-code],...')
or we can extend existing regexp.
If you're interested, I can make a PR.