Skip to content

Commit

Permalink
add new svelte 4+ detection method
Browse files Browse the repository at this point in the history
As of Svelte 4, there is a window.__svelte object that can be
used to detect Svelte usage. This commit adds it to the list
of detection methods.
  • Loading branch information
kara committed Feb 2, 2024
1 parent 3d1392c commit fd0bbaa
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/technologies/s.json
Original file line number Diff line number Diff line change
Expand Up @@ -6927,6 +6927,9 @@
"description": "Svelte is a free and open-source front end compiler created by Rich Harris and maintained by the Svelte core team members.",
"dom": "[class*='svelte-']",
"icon": "Svelte.svg",
"js": {
"__svelte": ""
},
"oss": true,
"website": "https://svelte.dev"
},
Expand Down

0 comments on commit fd0bbaa

Please sign in to comment.