Packages

@astrojs/sitemap

3.7.6 · 18 Nov 2026MIT6.2M / weekRepositoryHomepagenpmAtom feed

Your version

3.5.0

14 Aug 2025Where it was published

3.7.6 is the newest release of 3.x.

In short

1 new

Release note

Minor Changes

  • Adds a customSitemaps option to include extra sitemaps in the sitemap-index.xml file generated by Astro.

    This is useful for multi-framework setups on the same domain as your Astro site (example.com), such as a blog at example.com/blog whose sitemap is generated by another framework.

    The following example shows configuring your Astro site to include sitemaps for an externally-generated blog and help center along with the generated sitemap entries in sitemap-index.xml:

    Example:

    import { defineConfig } from 'astro/config';
    import sitemap from '@astrojs/sitemap';
    
    export default defineConfig({
      site: 'https://example.com',
      integrations: [
        sitemap({
          customSitemaps: [
            'https://example.com/blog/sitemap.xml',
            'https://example.com/helpcenter/sitemap.xml',
          ],
        }),
      ],
    });

    Learn more in the @astrojs/sitemap configuration documentation.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.