Skip to content

Releases: sveltejs/vite-plugin-svelte

@sveltejs/[email protected]

13 Jul 13:24
2bc3834
Compare
Choose a tag to compare

Major Changes

  • update to vite3 (#359)

  • bump minimum required node version to 14.18.0 to align with vite 3 (#359)

  • move plugin options in svelte.config.js into "vitePlugin" (#389)

    update your svelte.config.js and wrap plugin options with vitePlugin

    // svelte.config.js
    
      compilerOptions: {...},
      preprocess: {...},
      extensions: [...],
      onwarn: () => {...},
      kit: {},
    + vitePlugin: {
       // include, exclude, emitCss, hot, ignorePluginPreprocessors, disableDependencyReinclusion, experimental
    + }

Patch Changes

  • Always add dependencies using svelte to ssr.noExternal in vite config (#359)

@sveltejs/[email protected]

09 Jun 19:00
f6125fb
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • New experimental option sendWarningsToBrowser (#372)

Patch Changes

  • fix hmr not updating a component when returning to the last working state from an error state (#371)

@sveltejs/[email protected]

07 Jun 21:33
56f2422
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • Automate setting of compilerOptions.hydratable from kit.browser.hydrate option (#368)

Patch Changes

  • Do not try to resolve svelte field in __vite-browser-external, see (#362)" (#363)

@sveltejs/[email protected]

01 Jun 08:28
346f9c1
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Use last modified time as cache busting parameter (#356)

  • Export loadSvelteConfig (#356)

@sveltejs/[email protected]

30 May 13:02
2653de6
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Bump svelte-hmr version (#349)

@sveltejs/[email protected]

26 May 20:28
cb7c5a8
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • Handle inspector autocomplete keydown event (#338)

  • Remove user-specified values for essential compilerOptions generate, format, cssHash and filename and log a warning (#346)

  • fix inspector not initializing correctly for sveltekit on windows (see #342) (#344)

@sveltejs/[email protected]

11 May 17:59
b8cd6d1
Compare
Choose a tag to compare
Pre-release

Patch Changes

  • correctly resolve the experimental svelte inspector (see #332) (fixes #330) (#333)

@sveltejs/[email protected]

08 May 09:50
61ae87b
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • Add experimental Svelte Inspector to quickly jump to code from your browser. (#322)

Patch Changes

  • use deepmerge utility to merge inline config and svelte.config.js (#322)

  • do not warn if kit options are passed as inline config (#319)

  • Support import typescript files with .js extension (#324)

  • do not restart vite devserver on changes of svelte config when configFile: false is set (#319)

@sveltejs/[email protected]

27 Apr 11:35
90d64c1
Compare
Choose a tag to compare
Pre-release

Minor Changes

  • skip reading default svelte config file with inline option configFile: false (#317)

@sveltejs/[email protected]

06 Apr 06:40
66ba57f
Compare
Choose a tag to compare
Pre-release

Major Changes

  • Update vite peerDependency to ^2.9.0 and handle edge cases for experimental.prebundleSvelteLibraries (#294)

Patch Changes

  • Improved CSS Source Maps when using vite's css: { devSourcemap: true } (#305)