This may come as a surprise, but there’s a new episode of Off The Main Thread less than a month after the last one.

In this one, @jaffathecake and I talk about whether build tools are good or bad and we talk a bit about the build tool Bazel.

🎧 👇
https://offthemainthread.tech/episode/big-build-bool-bonanza/

The Big Build Bool Bonanaza II - Off The Main Thread

@surma @jaffathecake Very cool stuff! I'm a big proponent of build systems and I've always been frustrated with how web devs seem to couple bundlers and build systems together into a single tool, when they are completely different concepts. Would love to see more build system usage in the web space!

On the #Bazel front, I happen to be working on #rules_prerender, a ruleset for doing static site generation in Bazel, built on top of #aspect_rules_js.

https://github.com/dgp1130/rules_prerender/

It's maybe 90% feature complete towards 1.0, but unfortunately not yet documented. I've been distracted and haven't had the time to builds the docs site (examples are more thorough if you can follow what they're doing).

https://github.com/dgp1130/rules_prerender/tree/d5c9ac48b2f221d64c9bf9bf9b026e859f29a56e/examples/

I don't know if that would be useful for you, but I figured it tied in with the web + build systems + Bazel theme so it might be interesting to you.

GitHub - dgp1130/rules_prerender: A Bazel rule set for prerending HTML pages.

A Bazel rule set for prerending HTML pages. Contribute to dgp1130/rules_prerender development by creating an account on GitHub.

GitHub

@develwithoutacause @surma @jaffathecake very cool Doug! Will add this to my list of things to play with this coming year.

I think there's a huge opportunity for Bazel to change the way we build large web projects. I feel like there's a lot of potential to change mindsets, and get a little more engineering rigor into web dev that flows out of some of the principles brought by Bazels build restrictions.