Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/vite-plugin-svelte@3.1.1

29 May 19:33
9515421
Compare
Choose a tag to compare

Patch Changes

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

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

@sveltejs/vite-plugin-svelte@4.0.0-next.3

27 May 13:08
262e6c1
Compare
Choose a tag to compare

Patch Changes

  • fix: only apply infix filter to basename (#920)

@sveltejs/vite-plugin-svelte@4.0.0-next.2

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

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/vite-plugin-svelte-inspector@3.0.0-next.2

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

Patch Changes

@sveltejs/vite-plugin-svelte@4.0.0-next.1

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

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/vite-plugin-svelte-inspector@3.0.0-next.1

@sveltejs/vite-plugin-svelte-inspector@3.0.0-next.1

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

@sveltejs/vite-plugin-svelte@4.0.0-next.0

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

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

  • fix: make defaultHandler a required argument for onwarn in plugin options (#895)

  • Remove log about experimental status of Svelte 5. Note that breaking changes can still occur while vite-plugin-svelte 4 is in prerelease mode (#894)

  • Updated dependencies [49324dbf747a46ae75b405a29fc7feac2db966dd]:

    • @sveltejs/vite-plugin-svelte-inspector@3.0.0-next.0

@sveltejs/vite-plugin-svelte-inspector@3.0.0-next.0

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

@sveltejs/vite-plugin-svelte@3.1.0

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

Minor Changes

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

Patch Changes

@sveltejs/vite-plugin-svelte-inspector@2.1.0

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