Skip to content

Commit a071bb8

Browse files
committed
docs(migrator): update comments regarding Svelte file handling and module resolution
1 parent 9870638 commit a071bb8

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

packages/cli/src/migration/migrator.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -683,8 +683,11 @@ function cleanupDeprecatedTsconfigOptions(
683683
}
684684
}
685685

686-
// Svelte is intentionally excluded: @sveltejs/vite-plugin-svelte and svelte-check handle
687-
// .svelte file types automatically. No env.d.ts shim is needed or documented officially.
686+
// .svelte files are handled by @sveltejs/vite-plugin-svelte (transpilation)
687+
// and svelte-check / Svelte Language Server (type checking).
688+
// Module resolution for `.svelte` imports is typically set up by the
689+
// project template (e.g. src/vite-env.d.ts in Vite svelte-ts, or
690+
// auto-generated tsconfig in SvelteKit) rather than this file.
688691
// https://svelte.dev/docs/svelte/typescript
689692
export type Framework = 'vue' | 'astro';
690693

0 commit comments

Comments
 (0)