Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/[email protected]

25 May 12:15
2157d16
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • update peer on workspace packages to avoid packages bumping each other (#916)

  • fix: ensure vite config is only resolved once during lazy init of vitePreprocess (#912)

  • fix: disable hmr when vite config server.hmr is false (#913)

@sveltejs/[email protected]

25 May 12:15
2157d16
Compare
Choose a tag to compare
Pre-release

Patch Changes

@sveltejs/[email protected]

14 May 22:58
60fa8b4
Compare
Choose a tag to compare
Pre-release

Major Changes

  • only prebundle files with default filenames (.svelte for components, .svelte.(js|ts) for modules) (#901)

Minor Changes

  • allow infix notation for svelte modules (#901)

    Previously, only suffix notation .svelte.js was allowed, now you can also use .svelte.test.js or .svelte.stories.js.
    This helps when writing testcases or other auxillary code where you may want to use runes too.

Patch Changes

  • prebundle with dev: true by default (#901)

  • fix: ensure svelte modules correctly run in DEV mode (#906)

  • Updated dependencies []:

@sveltejs/[email protected]

14 May 22:58
60fa8b4
Compare
Choose a tag to compare

@sveltejs/[email protected]

09 May 19:25
5f8c4e4
Compare
Choose a tag to compare
Pre-release

Major Changes

  • remove support for Svelte 4 (#892)

  • disable script preprocessing in vitePreprocess() by default because Svelte 5 supports lang=ts out of the box (#892)

  • replaced svelte-hmr with Svelte 5 compiler hmr integration (#892)

Patch Changes

@sveltejs/[email protected]

09 May 19:25
5f8c4e4
Compare
Choose a tag to compare

@sveltejs/[email protected]

10 Apr 19:46
acb1f88
Compare
Choose a tag to compare

Minor Changes

  • feat(svelte5): enable hmr option in dev (#836)

Patch Changes

@sveltejs/[email protected]

10 Apr 19:46
acb1f88
Compare
Choose a tag to compare

Minor Changes

  • Implements escapeKeys to close the inspector via hotkey (default keys are Backspace and Escape). (#880)

Patch Changes

@sveltejs/[email protected]

27 Jan 16:07
e04c9a8
Compare
Choose a tag to compare

Patch Changes

  • fix(compile): correctly determine script lang in files where a comment precedes the script tag (#844)

@sveltejs/[email protected]

22 Nov 13:50
3c37482
Compare
Choose a tag to compare

Patch Changes

  • fix: handle closing tags in attributes when detecting script language (#796)