News for hackers. Stuff that matters.
Re:HTML First – Six principles for building simple, maintain... by usrbinbash on Sunday November 12, 2023 @12:23PM (#38242181)
The only thing a build step changes about CSS/JS resources of this kind, is a minimization of the libs...which is entirely achievable without building, by simply including the already-minimized version.

I think what the article is about when it says to steer clear of builds, is complex builds, where transpilations and similar changes in format have to happen, in order for the page to work.

Re:HTML First – Six principles for building simple, maintain... by lolinder on Sunday November 12, 2023 @12:47PM (#38242417)
> The only thing a build step changes about CSS/JS resources of this kind, is a minimization of the libs...which is entirely achievable without building, by simply including the already-minimized version.

This isn't true, though—Tailwind's build step isn't just stripping out white space, it removes unused selectirs, too, which can't be done in advance.

Re:HTML First – Six principles for building simple, maintain... by usrbinbash on Sunday November 12, 2023 @01:27PM (#38242783)
I wasn't aware of that, thanks :-)