-
Notifications
You must be signed in to change notification settings - Fork 319
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Svelte support and usage via CLI #339
Comments
Hey! It's likely possible but may require hooking the .svelte filepath into dependency-tree or it's node-precinct and/or node-filing-cabinet libraries. You'd have to contribute the PRs yourself though. |
I'm really new to madge. Is there any plugin system or solid method to extend the original functioning? |
We should solve this along #122 |
I started working on a demo based on the work made by #122 author, the logic of the code is pretty much the same so it may make sense to work on both together in order to release a way to interact with SFC scripts |
@guilherssousa Thanks. I'm busy reading & adding labels to all current issues. Looking forward to your PR!❤️ |
Vue support was added in v8 last month. Any chance we get svelte support? |
The commit that added Vue support was in the Svelte support would need to be added to that library |
Looks like the change to do that might only be a couple of lines. Can probably just rename |
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.wThe text was updated successfully, but these errors were encountered: