sveltejs / svelte-devtools

A browser extension to inspect Svelte application by extending your browser devtools capabilities
https://chromewebstore.google.com/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
MIT License
1.49k stars 79 forks source link

Lights up on sites not using svelte #17

Closed wpatter6 closed 4 years ago

wpatter6 commented 4 years ago

Is it possible to have the badge grayscale on sites that aren't using svelte, and red when a site is using it (even in production mode -- similar to vue and react's devtools)? It'd be a nice addition to be able to see what sites are actually using svelte

RedHatter commented 4 years ago

svelte-devtools doesn't watch any pages until you open it. This means it can't know if the page uses svelte beforehand. In other words, this is something that could be done but would have performance issues.