Skip to content

@sveltejs/[email protected]

Compare
Choose a tag to compare
@github-actions github-actions released this 13 Jul 13:24
· 447 commits to main since this release
2bc3834

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)