kit icon indicating copy to clipboard operation
kit copied to clipboard

Print filepaths using Svelte or SvelteKit-specific code in @sveltejs/package

Open kwangure opened this issue 1 year ago • 1 comments

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

kwangure avatar May 02 '23 14:05 kwangure

That would be great, I tried to find all occurences of $app, $env but it still errors out

melMass avatar Feb 10 '24 14:02 melMass