This repository was archived by the owner on Feb 10, 2025. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 52
This repository was archived by the owner on Feb 10, 2025. It is now read-only.
@astrojs/sitemap excluded from final static output with Vercel adapter #445
Copy link
Copy link
Closed
Labels
- P4: importantViolate documented behavior or significantly improves performance (priority)Violate documented behavior or significantly improves performance (priority)needs triageIssue needs to be triagedIssue needs to be triagedpkg: vercelRelated to Vercel adapter (scope)Related to Vercel adapter (scope)
Description
Astro Info
Astro v5.0.0
Node v22.11.0
System Linux (x64)
Package Manager pnpm
Output static
Adapter @astrojs/vercel
Integrations @astrojs/mdx
@astrojs/sitemap
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
"@astrojs/sitemap": "^3.2.1",
"@astrojs/vercel": "^8.0.0",
"astro": "^5.0.0",
output is static
Using the versions above, the sitemap-index.xml and sitemap-0.xml files are created in /dist
instead of .vercel/output/static
, excluding them from the final vercel deployment.
What's the expected result?
astro-v4
branch in the repro
"@astrojs/sitemap": "^3.2.1",
"@astrojs/vercel": "^7.8.2",
"astro": "^4.16.13",
output is hybrid
No /dist
folder is created at all after building, and the sitemap is properly generated in .vercel/output/static
.
[build] Rearranging server assets...
[@astrojs/sitemap] `sitemap-index.xml` created at `.vercel/output/static`
Link to Minimal Reproducible Example
https://github.com/dotnize/astro-sitemap-vercel-static
Participation
- I am willing to submit a pull request for this issue.
yoannfleurydev, phenomen, satinP, jwoyo, GuilleMarejada and 2 more
Metadata
Metadata
Assignees
Labels
- P4: importantViolate documented behavior or significantly improves performance (priority)Violate documented behavior or significantly improves performance (priority)needs triageIssue needs to be triagedIssue needs to be triagedpkg: vercelRelated to Vercel adapter (scope)Related to Vercel adapter (scope)