Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/[email protected]

05 May 07:53
fdd5c27
Compare
Choose a tag to compare

Minor Changes

  • feat(inspector): Promote experimental.inspector to regular option (#631)

  • feat(inspector): allow configuration via environment SVELTE_INSPECTOR_OPTIONS or SVELTE_INSPECTOR_TOGGLE (#631)

  • feat(inspector): enable holdMode by default (#631)

  • Remove internal SvelteKit specific handling (#638)

Patch Changes

  • fix(inspector): prepend vite base when calling __openInEditor (#631)

  • fix(inspector): after a file has been opened, automatically disable inspector on leaving browser (#631)

  • fix(inspector): use control-shift as default keycombo on linux to avoid problems in firefox (#631)

  • fix(svelte-inspector): mount outside body to avoid hydration claiming body removing it (#631)

@sveltejs/[email protected]

25 Apr 18:30
e09f3bb
Compare
Choose a tag to compare

Patch Changes

  • fix(resolve): normalize path resolved from "svelte" field to ensure consistency across operating systems (#635)

@sveltejs/[email protected]

21 Apr 15:14
2c86327
Compare
Choose a tag to compare

Minor Changes

  • log warnings for packages that use the svelte field to resolve Svelte files differently than standard Vite resolve (#510)

Patch Changes

  • fix(vitePreprocess): add dependencies to style preprocessor output (#625)

  • Skip Vite resolve workaround on Vite 4.1+ or Svelte 4+ (#622)

  • fix(vitePreprocess): use relative paths without lang suffix in sourcemaps to avoid missing source file errors. (#625)

  • Log stats in debug mode and remove experimental.disableCompileStats option. Use DEBUG="vite:vite-plugin-svelte:stats" when starting the dev server or build to log the compile stats. (#614)

@sveltejs/[email protected]

30 Mar 07:12
31e003c
Compare
Choose a tag to compare

Patch Changes

  • fix(vitePreprocess): remove problematic pure annotations that could lead to wrong build output in some cases (#609)

@sveltejs/[email protected]

23 Feb 12:56
4ccc908
Compare
Choose a tag to compare

Patch Changes

  • fix(vitePreprocess): use relative paths in sourcemap sources (#570)

  • show correct error overlay for compiler errors during hot update (#592)

  • respect custom resolve.mainFields config when adding svelte (#582)

@sveltejs/[email protected]

12 Dec 10:11
9d8a616
Compare
Choose a tag to compare

Patch Changes

  • improve detection of sveltekit in inspector plugin to be compatible to latest changes (47c54c9)

@sveltejs/[email protected]

11 Dec 10:47
610c9e6
Compare
Choose a tag to compare

Patch Changes

  • update minimum version of vitefu dependency to avoid peer mismatch (#543)

@sveltejs/[email protected]

09 Dec 10:02
1561ec3
Compare
Choose a tag to compare

Major Changes

  • update svelte peerDependency to ^3.54.0 (#529)

  • remove commonjs variant of vite-plugin-svelte (#522)

    Make sure your package.json contains "type": "module"and see FAQ for more information

  • update vite peerDependency to vite-4 (#521)

Patch Changes

  • Remove experimental.useVitePreprocess option in favour of vitePreprocess (#538)

  • Remove pre Vite 3.2 support for vitePreprocess (#536)

@sveltejs/[email protected]

09 Dec 09:42
bbdb65a
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Remove experimental.useVitePreprocess option in favour of vitePreprocess (#538)

  • Remove pre Vite 3.2 support for vitePreprocess (#536)

@sveltejs/[email protected]

08 Dec 22:51
a413903
Compare
Choose a tag to compare
Pre-release

Major Changes

  • reintroduce custom svelte/ssr resolve (#532)