Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/[email protected]

27 Jul 20:09
2670424
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • fix(dev): compile with hmr: false for prebundled deps as hmr does not work with that (#950)

  • fix(dev): make sure custom cssHash is applied consistently even for prebundled components to avoid hash mismatches during hydration (#950)

@sveltejs/[email protected]

11 Jul 09:12
24522a0
Compare
Choose a tag to compare
Pre-release

Major Changes

  • breaking(types): some types that have been unintentionally public are now private (#934)

Minor Changes

  • feat(config): dynamically extract list of svelte exports from peer dependency so that new exports work automatically" (#941)

Patch Changes

@sveltejs/[email protected]

11 Jul 09:12
24522a0
Compare
Choose a tag to compare
Pre-release

Major Changes

  • breaking(types): some types that have been unintentionally public are now private (#934)

Patch Changes

@sveltejs/[email protected]

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/[email protected]

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

Patch Changes

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

@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