DEV Community

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

reicheltp profile image
Paul Reichelt

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!

emilioschepis profile image
Emilio Schepis Author

Thanks, I'm glad it could be useful!