@astrojs/sitemap
3.7.6 · 18 Nov 2026MIT6.2M / weekRepositoryHomepagenpmAtom feed
3.7.6 is the newest release of 3.x.
In short
1 new
Release note
Minor Changes
Adds a
customSitemapsoption to include extra sitemaps in thesitemap-index.xmlfile generated by Astro.This is useful for multi-framework setups on the same domain as your Astro site (
example.com), such as a blog atexample.com/blogwhose 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/sitemapconfiguration 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.