“By default, web pages built with Fresh send zero JavaScript to the client.”
Render on the server, ship HTML, and hydrate only the small islands that need to move. No build step at all. This is roughly how the web worked before single-page apps convinced everyone to ship megabytes of JavaScript for a blog. The industry is rediscovering the server and calling it new.