Package Exports
- htmlnano
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (htmlnano) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
htmlnano
Modular HTML minifier, built on top of the PostHTML. Inspired by cssnano.
To switch to the optional fork of uncss, apply uncss-fork.patch
.
Reasons you may want to do this are: uncss uses outdated dependencies with security issues
Reasons you may want to avoid this are: long term support, stability
Benchmark
Website | Source (KB) | html-minifier-terser@5.1.1 | htmlnano@1.0.0 |
---|---|---|---|
stackoverflow.blog | 95 | 87 | 82 |
github.com | 210 | 183 | 171 |
en.wikipedia.org | 78 | 72 | 72 |
npmjs.com | 41 | 38 | 36 |
Avg. minify rate | 0% | 9% | 13% |