🐛 BUG: No static build output when using@astrojs/rss
#3550
Labels
- P2: nice to have
Not breaking anything but nice to have (priority)
@astrojs/rss
#3550
What version of
astro
are you using?1.0.0-beta.42
Are you using an SSR adapter? If so, which one?
None (but also does not work with SSR adapter)
What package manager are you using?
npm, yarn
What operating system are you using?
Mac
Describe the Bug
When adding
pages/rss.xml.ts
(orpages/rss.xml.js
),yarn build
no longer generates static routes.This can be verified by downloading the linked stackblitz, and running
yarn build
:pages/rss.xml.js
--> static HTML output ✅The docs on https://docs.astro.build/en/guides/rss/#using-astrojsrss-recommended suggest that using
@astrojs/rss
should work with and without SSR adapter. I also tried adding the Netlify adapter, with a similar result: Not even thenetlify/functions/
folder was created.The build command output also reflects this: "generating static routes" does not show any outputs when
pages/rss.xml.js
is present:Link to Minimal Reproducible Example
https://stackblitz.com/edit/github-ebz6gf-jkeapy?file=src/pages/rss.xml.ts
Participation
The text was updated successfully, but these errors were encountered: