kit
kit copied to clipboard
Print filepaths using Svelte or SvelteKit-specific code in @sveltejs/package
Describe the problem
svelte-package
warns you when you include a Svelte-specific or SvelteKit-specific import in your package but do not include it in dependencies
or peerDependencies
. If not including dependencies
or peerDependencies
was intentional, finding the file that uses the wrong import takes a minute.
Describe the proposed solution
It would be helpful if svelte-package
printed the file in the terminal. Preferably with a link you can Ctrl+Click in VS Code to jump to the file immediately.
Alternatives considered
No response
Importance
would make my life easier
Additional Information
No response
That would be great, I tried to find all occurences of $app
, $env
but it still errors out