Skip to content

@sveltejs/vite-plugin-svelte@2.1.0

Compare
Choose a tag to compare
@github-actions github-actions released this 21 Apr 15:14
· 185 commits to main since this release
2c86327

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)