static generator - code function to pre-render all article pages

Writelier has 25000+ published articles, which is about 80% of the total webpages. It can't afford long build time, so I'm making my own optimized static website generator. The first try seems promising: less than 2 minutes on 8Gb of RAM to build 25,000 pages from React components.