Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensions don't provide minified version #81

Open
scrhartley opened this issue Aug 17, 2024 · 0 comments
Open

Extensions don't provide minified version #81

scrhartley opened this issue Aug 17, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@scrhartley
Copy link
Contributor

scrhartley commented Aug 17, 2024

htmx includes a minified version as part of its release on npm:
https://www.npmjs.com/package/htmx.org?activeTab=code

Extensions currently don't have a similar dist step and so only the non-minified version is available,
e.g. https://www.npmjs.com/package/htmx-ext-head-support?activeTab=code
This is noticeable since I was using a non-JS backend and the browser ended up with the non-minified file.

Extension: Head-support

Compression Original Minified
None 6.2 kB 1.7 kB
Gzip 2.1 kB 1.1 kB

Extension: WebSockets

Compression Original Minified
None 14.6 kB 4.8 kB
Gzip 4.7 kB 2.3 kB
@Telroshan Telroshan added the enhancement New feature or request label Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants