This commit is contained in:
Wilson Lin 2020-08-25 00:37:54 +10:00
commit a2c9f1a5d8
11 changed files with 16 additions and 16 deletions

View file

@ -11,7 +11,7 @@ An HTML minifier meticulously optimised for both speed and effectiveness, availa
Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.6/js/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.6/js/average-sizes.png">
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.7/js/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.3.7/js/average-sizes.png">
## Usage
@ -21,9 +21,9 @@ Precompiled binaries are available for x86-64 Linux, macOS, and Windows.
##### Get
[Linux](https://wilsonl.in/minify-html/bin/0.3.6-linux-x86_64) |
[macOS](https://wilsonl.in/minify-html/bin/0.3.6-macos-x86_64) |
[Windows](https://wilsonl.in/minify-html/bin/0.3.6-windows-x86_64.exe)
[Linux](https://wilsonl.in/minify-html/bin/0.3.7-linux-x86_64) |
[macOS](https://wilsonl.in/minify-html/bin/0.3.7-macos-x86_64) |
[Windows](https://wilsonl.in/minify-html/bin/0.3.7-windows-x86_64.exe)
##### Use
@ -42,7 +42,7 @@ minify-html --src /path/to/src.html --out /path/to/output.min.html
```toml
[dependencies]
minify-html = { version = "0.3.6", features = ["js-esbuild"] }
minify-html = { version = "0.3.7", features = ["js-esbuild"] }
```
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS minifier](https://github.com/evanw/esbuild).
@ -119,7 +119,7 @@ Add as a Maven dependency:
<dependency>
<groupId>in.wilsonl.minifyhtml</groupId>
<artifactId>minify-html</artifactId>
<version>0.3.6</version>
<version>0.3.7</version>
</dependency>
```