2 karma · joined Jul 5, 2018 (8y ago) · 3 submissions
comment 4y ago · link · parent
Here I am, many years later, still maintaining it and overally enjoying the work. I just chose to never take on any implied responsibility like described in the article. This means it's ok to ignore or close tickets, or simply not be active for some months if there was better things to do. So far the interest has kept up, and I'm improving it on our own terms.
comment 8y ago · link · parent
I'm a UX/UI designer but for the past two years have started coding JS/React as a way to improve my design and systems thinking. My own static website has been the playground for most of that time.
I've been through Gatsby and Next.js and wanted to make my own static boilerplate, but the SSR part was missing. I looked at the existing webpack plugins for generating HTML files but thought they mostly deal with templates.
html-renderer-webpack-plugin tries to do things a bit differently by providing an SSR-like interface where each defined path (supplied in webpack config) calls a PromiseLike function where you can do whatever based on the current path and the webpack stats object. The function then should return a string of HTML that gets saved into the output directory. Basically this allows one to port their Express application's SSR functionality into a static renderer.
As linked in the readme, a working example site can be found at https://github.com/iiroj/iiro.fi
3.
Show HN: Html-renderer-webpack-plugin(github.com ↗)
2 points · by iiroj · 8y ago · 1 comment