#339·madge

Svelte support and usage via CLI

Author: guilherssousaCreated Jan 10, 2023Updated Apr 15, 2026
Labelscore

Is it possible to track dependencies in Svelte SFCs? I tried to run the CLI passing the `--extensions svelte --orphans` to find unused files on my project after refactoring it, and the files aren't being showed at all, and when `.svelte` files appear, usually they are just Route Files that aren't imported to any other place, being used by SvelteKit compiler instead.w