Maybe I'm missing something here, but JS modules do not require a build step.
* Note to non-JS hackers: JS module symbol scope is per-source file.
* Note to non-JS hackers: JS module symbol scope is per-source file.
We generate esm and cjs modules for people who want to use htmx in that manner though:
an aesthetic decision, I suppose
(Which is why bundlers still exist.)