Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/vite-plugin-svelte@2.3.0

22 May 14:25
abce5b9
Compare
Choose a tag to compare

Minor Changes

  • Refactor Svelte inspector as a separate package (#646)

Patch Changes

  • remove unused invalid property Code.dependencies on compiler ouput type (#652)

  • fix(build): watch preprocessor dependencies during build --watch (#653)

  • Updated dependencies [1dd6933]:

    • @sveltejs/vite-plugin-svelte-inspector@1.0.1

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

22 May 14:25
abce5b9
Compare
Choose a tag to compare

Patch Changes

  • Refactor Svelte inspector as a separate package (#646)

  • Updated dependencies [1dd6933, 8d9b4f5, 285bf59]:

    • @sveltejs/vite-plugin-svelte@2.3.0

@sveltejs/vite-plugin-svelte@2.2.0

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/vite-plugin-svelte@2.1.1

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/vite-plugin-svelte@2.1.0

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/vite-plugin-svelte@2.0.4

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/vite-plugin-svelte@2.0.3

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/vite-plugin-svelte@2.0.2

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/vite-plugin-svelte@2.0.1

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/vite-plugin-svelte@2.0.0

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)