Skip to content

Move the demo to SvelteKit 3 - #300

Merged
Choochmeque merged 3 commits into
mainfrom
fix/deps-sveltekit-3
Nov 7, 2026
Merged

Choochmeque merged 3 commits into
mainfrom
fix/deps-sveltekit-3

Conversation

@Choochmeque

Copy link
Copy Markdown
Owner

SvelteKit 3 drops svelte.config.js: the adapter and preprocess options are passed to the sveltekit() Vite plugin instead, and the generated .svelte-kit/tsconfig.json that the demo's tsconfig extended no longer exists (it extends $app/tsconfig now, which already carries the compiler options the file used to repeat).

The demo keeps the same SPA setup (fallback: index.html, ssr = false). pnpm build and pnpm check pass locally with no SvelteKit warnings. pnpm warns that kit 3 wants typescript ^6 while the demo pins ~5.6; the build and svelte-check are fine on 5.6, so that bump is left for its own change.

Supersedes #299.

SvelteKit 3 dropped svelte.config.js, so the adapter and preprocess
options move into the sveltekit() Vite plugin. tsconfig.json now extends
$app/tsconfig, which replaces the generated .svelte-kit/tsconfig.json.
# Conflicts:
#	examples/share-demo/pnpm-lock.yaml
# Conflicts:
#	examples/share-demo/pnpm-lock.yaml
@Choochmeque
Choochmeque merged commit a46f22c into main Nov 7, 2026
16 checks passed
@Choochmeque
Choochmeque deleted the fix/deps-sveltekit-3 branch November 7, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant