1.0.2 • Published 4 months ago

svelte-adapter-static-sitemap v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

svelte-adapter-static-sitemap

Adapter for SvelteKit apps that prerenders your entire site as a collection of static files and and sitemap.xml

Usage

Install with npm i -D sveltejs-adapter-static-sitemap then add the adapter to your svelte.config.js

import adapter from 'sveltejs-adapter-static-sitemap';

export default {
  kit: {
    adapter: adapter({
      // default options are shown. On some platforms
      // these options are set automatically — see below
      domain: 'http://localhost',
      fileName: 'sitemap.xml',
      pages: 'build',
      assets: 'build',
      fallback: undefined,
      precompress: false,
      strict: true
    })
  }
}
1.0.2

4 months ago

1.0.1

5 months ago

1.0.0

5 months ago