That’s an amazing post.

How would you go about applying the same concept to vanilla html templates? What would be that extra step that will make it feasible.

I’m not a Webpack expert, but would it be possible to require the css modules within, say, html modules do all the work and let webpack produce the final markup?