Repository navigation
breaking: move Config type - #16752
Conversation
|
Install the latest version of pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/4a67104f75386e4f45df200cc8a9de431af80073Open in |
|
|
The PR below fixes this |
Fixes for #16752 (comment). The cli.js `files.lib` fallback is dead either way now that the schema errors on it — flattened rather than deleted, delete if you prefer.
…17512) - Kit injects an identity `typescript.config` callback even when omitted, preventing ESLint from serializing the loaded configuration with `--cache`. - Configuration flattening in [#16752](#16752) exposed this default; [#16458](#16458) already made transforms optional. Remove the redundant callback rather than special-casing ESLint serialization. - Preserve explicit callbacks, validation/deprecation diagnostics, and service-worker configuration separation. Cover cached linting and mutation/replacement callbacks; user-supplied non-serializable functions remain subject to ESLint’s restrictions. Fixes #17511 <!-- svelte-triage-bot:feedback-baseline:c8d33279e1caaf83433bf96b531421a376571d69 --> --------- Co-authored-by: svelte-triage-bot <team@svelte.com> Co-authored-by: Tee Ming <chewteeming01@gmail.com>
Another piece of #16676. This began as 'we should probably move
Configto@sveltejs/kit/viteand quickly became 'oh, we can simplify a ton of stuff that I've been meaning to get round to'.It requires some corresponding changes on the svelte.dev side, which I have locally. We should merge this first though so we can cut a release, and I'll follow up with the changes over there
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:
Tests
pnpm testand lint the project withpnpm lintandpnpm checkChangesets
pnpm changesetand following the prompts. Changesets that add features should beminorand those that fix bugs should bepatch. Please prefix changeset messages withfeat:,fix:, orchore:.Edits