dist files and checked them into my application. Fuggedaboudit.
A disclaimer: this is not an application-logic heavy web application. It's a website. It uses Swup for page transitions, and it uses Swiper for a carousel or two, and it uses a handful of handrolled JS classes for stuff like simple image lightboxes and video players with custom controls. It's a website. It has some Content, and you click around and read the Content and look at the nice pictures. I'm not building Gmail, here.
Anyway, because I don't have a build step, and because I've recently developed a nearly fatal allergy to package- and dependency management, I've elected to use Hugo for generating the site (so single binary, much simple, wow) and a
vendor/ directory where I stash a bunch of
.min.jsfiles I downloaded from unpkg.
vite build, no
npm install. My build times are instant. The gremlins that power Netlify's build pipeline scuttle hither & to, trying to keep up. I am acutely aware of exactly how much JS I'm asking users to download and run. This has radicalised me against modern website build culture more than 100 "sustainable web development" blog posts ever could.