Skip to content

svelte-spa-router@5.1.1

Latest

Choose a tag to compare

@github-actions github-actions released this 25 Jun 07:31
d6f1e92

Patch Changes

  • 9887d02: fix: transpile TypeScript to JavaScript in packaged Svelte components

    The published dist/Router.svelte shipped its <script> blocks as raw TypeScript because no preprocessor was configured for svelte-package. A svelte.config.js using vitePreprocess({script: true}) now transpiles the <script> blocks so packaged components contain plain JavaScript.

  • 5c5e1f0: fix: rendering in SSR context

    Makes svelte-spa-router work with Astro and other frameworks doing SSR.