This is a small svelte kit project to reproduce an issue with dymanic imports in Knip.
Knip version: ^5.66.4
I've created an Error.svelte component that is lazy loaded in the src/routes/+page.svelte component:
{#await import("./Error.svelte") then Err}
<Err.default />
{/await}
When running npm run knip it says that Error.svelte is an unused file.
npm install)npm run knip