Get unused components
get_unusedIdentify imported Svelte components that are never rendered in any template. Get a project-wide list of unused components, independent of file order.
Instructions
Return every component that is imported somewhere in the project but rendered nowhere (never referenced in any importer's template). Computed globally, so the result does not depend on file order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Absolute path to the SvelteKit/Svelte project root to analyze. |