0.2.6
This commit is contained in:
parent
e3fe95a5a7
commit
2726f2e454
|
@ -7,7 +7,7 @@ readme = "README.md"
|
||||||
keywords = ["html", "compress", "minifier", "minify", "minification"]
|
keywords = ["html", "compress", "minifier", "minify", "minification"]
|
||||||
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
||||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||||
version = "0.2.5"
|
version = "0.2.6"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
||||||
|
|
10
README.md
10
README.md
|
@ -20,7 +20,7 @@ Available as:
|
||||||
|
|
||||||
Speed and effectiveness of Node.js version compared to [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on popular already-minified web pages. See [bench](./bench) folder for more details.
|
Speed and effectiveness of Node.js version compared to [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on popular already-minified web pages. See [bench](./bench) folder for more details.
|
||||||
|
|
||||||
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.2.5/average-speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.2.5/average-sizes.png">
|
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.2.6/average-speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.2.6/average-sizes.png">
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ Precompiled binaries are available for x86-64 macOS and Linux.
|
||||||
|
|
||||||
##### Get
|
##### Get
|
||||||
|
|
||||||
[macOS](https://wilsonl.in/minify-html/bin/0.2.5-macos-x86_64) |
|
[macOS](https://wilsonl.in/minify-html/bin/0.2.6-macos-x86_64) |
|
||||||
[Linux](https://wilsonl.in/minify-html/bin/0.2.5-linux-x86_64)
|
[Linux](https://wilsonl.in/minify-html/bin/0.2.6-linux-x86_64)
|
||||||
|
|
||||||
##### Use
|
##### Use
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ minify-html --src /path/to/src.html --out /path/to/output.min.html
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
[dependencies]
|
[dependencies]
|
||||||
minify-html = { version = "0.2.5", features = ["js-esbuild"] }
|
minify-html = { version = "0.2.6", 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).
|
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).
|
||||||
|
@ -167,7 +167,7 @@ Add as a Maven dependency:
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||||
<artifactId>minify-html</artifactId>
|
<artifactId>minify-html</artifactId>
|
||||||
<version>0.2.5</version>
|
<version>0.2.6</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ For more information on how the tests are fetched, see [fetch.js](./fetch.js).
|
||||||
|
|
||||||
On this [project's README](../README.md), average graphs are shown. Graphs showing per-test results are shown below:
|
On this [project's README](../README.md), average graphs are shown. Graphs showing per-test results are shown below:
|
||||||
|
|
||||||
<img width="435" alt="Chart showing speed of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.2.5/speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.2.5/sizes.png">
|
<img width="435" alt="Chart showing speed of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.2.6/speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.2.6/sizes.png">
|
||||||
|
|
||||||
Since speed depends on the input, speed charts show performance relative to the Node.js minify-html as a percentage.
|
Since speed depends on the input, speed charts show performance relative to the Node.js minify-html as a percentage.
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-cli"
|
name = "minify-html-cli"
|
||||||
version = "0.2.5"
|
version = "0.2.6"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-java"
|
name = "minify-html-java"
|
||||||
version = "0.2.5"
|
version = "0.2.6"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||||
<artifactId>minify-html</artifactId>
|
<artifactId>minify-html</artifactId>
|
||||||
<version>0.2.5</version>
|
<version>0.2.6</version>
|
||||||
|
|
||||||
<name>minify-html</name>
|
<name>minify-html</name>
|
||||||
<description>Fast allocation-less HTML minifier with smart whitespace handling</description>
|
<description>Fast allocation-less HTML minifier with smart whitespace handling</description>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-nodejs"
|
name = "minify-html-nodejs"
|
||||||
version = "0.2.5"
|
version = "0.2.6"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
build = "build.rs"
|
build = "build.rs"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@minify-html/js-esbuild",
|
"name": "@minify-html/js-esbuild",
|
||||||
"version": "0.2.5",
|
"version": "0.2.6",
|
||||||
"description": "Fast allocation-less HTML minifier with smart whitespace handling",
|
"description": "Fast allocation-less HTML minifier with smart whitespace handling",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"files": [
|
"files": [
|
||||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
||||||
homepage = "https://github.com/wilsonzlin/minify-html"
|
homepage = "https://github.com/wilsonzlin/minify-html"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||||
version = "0.2.5"
|
version = "0.2.6"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
[package]
|
[package]
|
||||||
publish = false
|
publish = false
|
||||||
name = "minify-html-ruby"
|
name = "minify-html-ruby"
|
||||||
version = "0.2.5"
|
version = "0.2.6"
|
||||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,7 @@ require 'rake'
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "minify_html"
|
spec.name = "minify_html"
|
||||||
spec.version = "0.2.5"
|
spec.version = "0.2.6"
|
||||||
spec.authors = ["Wilson Lin"]
|
spec.authors = ["Wilson Lin"]
|
||||||
spec.email = ["code@wilsonl.in"]
|
spec.email = ["code@wilsonl.in"]
|
||||||
spec.license = "MIT"
|
spec.license = "MIT"
|
||||||
|
|
Loading…
Reference in New Issue