Skip to content

chore(deps-dev): bump @sveltejs/vite-plugin-svelte from 5.1.0 to 6.0.0 #1790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 10, 2025

Bumps @sveltejs/vite-plugin-svelte from 5.1.0 to 6.0.0.

Release notes

Sourced from @​sveltejs/vite-plugin-svelte's releases.

@​sveltejs/vite-plugin-svelte@​6.0.0

Major Changes

  • drop support for node18 and update exports map to use default export. cjs is supported via require esm in node 20.19+ (#1129)

  • Remove experimental "advanced raw queries" feature. Basic File.svelte?raw is still supported. (#1145)

  • Using the typescript preprocessor now requires a tsconfig.json with verbatimModuleSyntax enabled, eg @​tsconfig/svelte (#1135)

  • remove support for loading commonjs svelte config files (#1142)

  • bump vite peer dependency to ^6.3.0 || ^7.0.0 (#1130)

  • define filters using object hook syntax and optimize the filter for resolveId (#1132)

    NOTE include logic has changed to files matching svelteConfig.include OR svelteConfig.extensions. Previously only files matching both were loaded and transformed.

  • split preprocess and compile into separate plugins (#1145)

    It allows vite plugins to transform code between preprocess and compile, see docs and is the recommended way to replace plugin.api.sveltePreprocess usage in other vite plugins. You can also use vite-plugin-inspect now to inspect the result of svelte.preprocess by checking the transform of vite-plugin-svelte:preprocess

    NOTE This can be a breaking change in case you have other plugins besides vite-plugin-svelte transforming your svelte code To fix this, read the docs on how to order plugins in relation to preprocess and compile

Minor Changes

  • Add experimental support for rolldown-vite (#1135)

  • replace esbuild optimizer with rolldown optimizer if rolldown-vite is used (#1135)

  • add support for loading TypeScript Svelte config files in runtimes that support it (#1142)

    NOTE This change only applies to vite-plugin-svelte.

    To use svelte.config.ts in SvelteKit, with the Svelte VS Code extension or other tools reading the Svelte config file, you have to wait until support is implemented there.

Patch Changes

  • reduce deprecation logging to info and allow disabling it with a flag (#1158)

... (truncated)

Changelog

Sourced from @​sveltejs/vite-plugin-svelte's changelog.

6.0.0

Major Changes

  • drop support for node18 and update exports map to use default export. cjs is supported via require esm in node 20.19+ (#1129)

  • Remove experimental "advanced raw queries" feature. Basic File.svelte?raw is still supported. (#1145)

  • Using the typescript preprocessor now requires a tsconfig.json with verbatimModuleSyntax enabled, eg @​tsconfig/svelte (#1135)

  • remove support for loading commonjs svelte config files (#1142)

  • bump vite peer dependency to ^6.3.0 || ^7.0.0 (#1130)

  • define filters using object hook syntax and optimize the filter for resolveId (#1132)

    NOTE include logic has changed to files matching svelteConfig.include OR svelteConfig.extensions. Previously only files matching both were loaded and transformed.

  • split preprocess and compile into separate plugins (#1145)

    It allows vite plugins to transform code between preprocess and compile, see docs and is the recommended way to replace plugin.api.sveltePreprocess usage in other vite plugins. You can also use vite-plugin-inspect now to inspect the result of svelte.preprocess by checking the transform of vite-plugin-svelte:preprocess

    NOTE This can be a breaking change in case you have other plugins besides vite-plugin-svelte transforming your svelte code To fix this, read the docs on how to order plugins in relation to preprocess and compile

Minor Changes

  • Add experimental support for rolldown-vite (#1135)

  • replace esbuild optimizer with rolldown optimizer if rolldown-vite is used (#1135)

  • add support for loading TypeScript Svelte config files in runtimes that support it (#1142)

    NOTE This change only applies to vite-plugin-svelte.

    To use svelte.config.ts in SvelteKit, with the Svelte VS Code extension or other tools reading the Svelte config file, you have to wait until support is implemented there.

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@sveltejs/vite-plugin-svelte](https://github.com/sveltejs/vite-plugin-svelte/tree/HEAD/packages/vite-plugin-svelte) from 5.1.0 to 6.0.0.
- [Release notes](https://github.com/sveltejs/vite-plugin-svelte/releases)
- [Changelog](https://github.com/sveltejs/vite-plugin-svelte/blob/main/packages/vite-plugin-svelte/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/vite-plugin-svelte/commits/@sveltejs/[email protected]/packages/vite-plugin-svelte)

---
updated-dependencies:
- dependency-name: "@sveltejs/vite-plugin-svelte"
  dependency-version: 6.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Jul 10, 2025
@dependabot dependabot bot requested a review from a team as a code owner July 10, 2025 18:03
@dependabot dependabot bot requested review from benoitf and removed request for a team July 10, 2025 18:03
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 10, 2025
@dependabot dependabot bot requested review from dgolovin and MarsKubeX July 10, 2025 18:03
@dependabot dependabot bot added the javascript Pull requests that update Javascript code label Jul 10, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 16, 2025

Superseded by #1809.

@dependabot dependabot bot closed this Jul 16, 2025
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/sveltejs/vite-plugin-svelte-6.0.0 branch July 16, 2025 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant