summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Ming-jun Lu <40516784+mingjunlu@users.noreply.github.com> 2024-10-14 20:45:24 +0800
committerGravatar GitHub <noreply@github.com> 2024-10-14 20:45:24 +0800
commit07754f5873b05ab4dae31ded7264fe4056c2dfc8 (patch)
tree1200a9df22790756006f3503152f58c7a714f5ab
parenta33804110df32a7b5d1ae5b77c5a2e050541de79 (diff)
downloadastro-07754f5873b05ab4dae31ded7264fe4056c2dfc8.tar.gz
astro-07754f5873b05ab4dae31ded7264fe4056c2dfc8.tar.zst
astro-07754f5873b05ab4dae31ded7264fe4056c2dfc8.zip
fix(sitemap): add missing `xslURL` property to `SitemapOptions` type (#12156)
-rw-r--r--.changeset/funny-onions-grin.md5
-rw-r--r--packages/integrations/sitemap/src/index.ts2
2 files changed, 7 insertions, 0 deletions
diff --git a/.changeset/funny-onions-grin.md b/.changeset/funny-onions-grin.md
new file mode 100644
index 000000000..902bcb1ae
--- /dev/null
+++ b/.changeset/funny-onions-grin.md
@@ -0,0 +1,5 @@
+---
+'@astrojs/sitemap': patch
+---
+
+Adds missing `xslURL` property to `SitemapOptions` type.
diff --git a/packages/integrations/sitemap/src/index.ts b/packages/integrations/sitemap/src/index.ts
index 4342ed5db..9bbd39e4a 100644
--- a/packages/integrations/sitemap/src/index.ts
+++ b/packages/integrations/sitemap/src/index.ts
@@ -35,6 +35,8 @@ export type SitemapOptions =
// called for each sitemap item just before to save them on disk, sync or async
serialize?(item: SitemapItem): SitemapItem | Promise<SitemapItem | undefined> | undefined;
+
+ xslURL?: string;
}
| undefined;