Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/vite-plugin-svelte@3.1.2

22 Aug 08:38
b3edb77
Compare
Choose a tag to compare

Patch Changes

  • add warning for svelte5 users to update to vite-plugin-svelte@4 (#964)

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

05 Aug 21:16
0d088f5
Compare
Choose a tag to compare

Patch Changes

  • ensure consistent use of compileOptions.hmr also for prebundling (#956)

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

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

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/vite-plugin-svelte@4.0.0-next.4

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

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

  • fix(optimizeDeps): avoid to optimise server only entrypoints of svelte that are never used on the client (#941)

  • fix(vitePreprocess): default to build config so that svelte-check does not trigger dev-only plugins (#931)

  • Updated dependencies [e9f048c362a0769b3d5afa87da6f8398f46fe1a9]:

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

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

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

Major Changes

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

Patch Changes

@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