Skip to content

add(experimental): new add-on to toggle experimental flags and opt in…#1121

Merged
jycouet merged 25 commits into
mainfrom
feat/experimental-addon
Jun 8, 2026
Merged

add(experimental): new add-on to toggle experimental flags and opt in…#1121
jycouet merged 25 commits into
mainfrom
feat/experimental-addon

Conversation

@jycouet

@jycouet jycouet commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Targeting svelte-config to reduce the diff

Description

new add-on to toggle experimental flags and opt into @next versions

Checklist

  • Update snapshots (if applicable)
  • Add a changeset (if applicable)
  • Allow maintainers to edit this PR
  • I care about what I'm doing, no matter the tool I use (Notepad, Sublime, VSCode, AI...)

manuel3108 and others added 15 commits June 5, 2026 20:30
Reads/edits config wherever it lives - a svelte.config.{js,ts} default export or the object passed to sveltekit() in vite.config.{js,ts}.
parseKitOptions now locates the config in either place and falls back to defaults instead of throwing. Deprecates file.svelteConfig in favour of the svelteConfig helper.
mdsvex, drizzle, sveltekit-adapter and eslint now edit the config wherever it lives; eslint only wires svelteConfig when a standalone svelte.config file exists.
…s/kit ^2.62.0

The inlined vite.config config needs kit >= 2.62.0; snapshots regenerated.
@changeset-bot

changeset-bot Bot commented Jun 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f510379

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
sv Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

@jycouet jycouet marked this pull request as ready for review June 8, 2026 15:37

@manuel3108 manuel3108 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM and works as expected.
The pr title and changeset seem a bit unusual compared the others ones, or did i miss something?

Comment thread documentation/docs/30-add-ons/14-experimental.md
Comment thread documentation/docs/30-add-ons/60-experimental.md Outdated
Comment thread documentation/docs/30-add-ons/14-experimental.md
Comment thread packages/sv/src/addons/tests/experimental/test.ts Outdated
jycouet and others added 7 commits June 8, 2026 19:47
Co-authored-by: Manuel <30698007+manuel3108@users.noreply.github.com>
Co-authored-by: Manuel <30698007+manuel3108@users.noreply.github.com>
…' of github.com:sveltejs/cli into feat/experimental-addon
Base automatically changed from feat/provide-svelte-config-in-vite-config-during-create to main June 8, 2026 18:22
@jycouet jycouet merged commit 2720b35 into main Jun 8, 2026
6 checks passed
@jycouet jycouet deleted the feat/experimental-addon branch June 8, 2026 18:24
@github-actions github-actions Bot mentioned this pull request Jun 8, 2026
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.

2 participants