DEV Community

Discussion on: Adding a statically-generated RSS feed to a Next.js 9.3+ Blog

Collapse
 
reicheltp profile image
Paul Reichelt-Ritter

Create idea to write the file during getStaticProps. I would have create something like a custom prebuild step in the next.config.js, but your solution is much cleaner!

Collapse
 
emilioschepis profile image
Emilio Schepis

Thanks, I'm glad it could be useful!