Front page "~14k min.gz’d" link leads to old version and claims incorrect size?
The link in the second paragraph of the home page "~14k min.gz’d" points to unpkg, version 1.9.12. There are two problems with this:
- 1.9.12 is old.
- Unpkg says the size is 15.7kB.
If this gets updated to point to 2.0.4, the size for that version is listed as 16.4k.
About the usage of 1.9.12 itself, as per the website's homepage
NEWS: htmx 2.0 has been released! It is not currently marked as latest in NPM so that people using the 1.x line are not accidentally upgraded. We will mark 2.0 as latest at some point in 2025.
The size is likely something we forgot to update for quite some time though, so if you are interested, please feel free to open a PR to fix that size value!
jsDelivr says it's 16.04 KB so I think it's fair to say ~16k min.gz'd.