0.4.7
This commit is contained in:
parent
df6426cb25
commit
28ac8db96f
|
@ -7,7 +7,7 @@ readme = "README.md"
|
|||
keywords = ["html", "compress", "minifier", "js", "css"]
|
||||
categories = ["compression", "command-line-utilities", "development-tools::build-utils", "web-programming"]
|
||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
include = ["/src/**/*", "/Cargo.toml", "/LICENSE", "/README.md"]
|
||||
|
|
12
README.md
12
README.md
|
@ -12,7 +12,7 @@ Comes with native bindings to Node.js, Python, Java, and Ruby.
|
|||
|
||||
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.4.6/core/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.6/core/average-sizes.png">
|
||||
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.7/core/average-speeds.png"> <img width="415" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.4.7/core/average-sizes.png">
|
||||
|
||||
## Usage
|
||||
|
||||
|
@ -22,9 +22,9 @@ Precompiled binaries are available for x86-64 Linux, macOS, and Windows.
|
|||
|
||||
##### Get
|
||||
|
||||
[Linux](https://wilsonl.in/minify-html/bin/0.4.6-linux-x86_64) |
|
||||
[macOS](https://wilsonl.in/minify-html/bin/0.4.6-macos-x86_64) |
|
||||
[Windows](https://wilsonl.in/minify-html/bin/0.4.6-windows-x86_64.exe)
|
||||
[Linux](https://wilsonl.in/minify-html/bin/0.4.7-linux-x86_64) |
|
||||
[macOS](https://wilsonl.in/minify-html/bin/0.4.7-macos-x86_64) |
|
||||
[Windows](https://wilsonl.in/minify-html/bin/0.4.7-windows-x86_64.exe)
|
||||
|
||||
##### Use
|
||||
|
||||
|
@ -43,7 +43,7 @@ minify-html --src /path/to/src.html --out /path/to/output.min.html --css --js
|
|||
|
||||
```toml
|
||||
[dependencies]
|
||||
minify-html = { version = "0.4.6", features = ["js-esbuild"] }
|
||||
minify-html = { version = "0.4.7", features = ["js-esbuild"] }
|
||||
```
|
||||
|
||||
Building with the `js-esbuild` feature requires the Go compiler to be installed as well, to build the [JS and CSS minifier](https://github.com/wilsonzlin/esbuild-rs).
|
||||
|
@ -120,7 +120,7 @@ Add as a Maven dependency:
|
|||
<dependency>
|
||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||
<artifactId>minify-html</artifactId>
|
||||
<version>0.4.6</version>
|
||||
<version>0.4.7</version>
|
||||
</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:
|
||||
|
||||
<img width="435" alt="Chart showing speed of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.4.6/core/speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.4.6/core/sizes.png">
|
||||
<img width="435" alt="Chart showing speed of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.4.7/core/speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers per test" src="https://wilsonl.in/minify-html/bench/0.4.7/core/sizes.png">
|
||||
|
||||
Since speed depends on the input, speed charts show performance relative to the Node.js minify-html as a percentage.
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
publish = false
|
||||
name = "minify-html-cli"
|
||||
description = "Extremely fast and smart HTML + JS + CSS minifier"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
publish = false
|
||||
name = "minify-html-java"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
<groupId>in.wilsonl.minifyhtml</groupId>
|
||||
<artifactId>minify-html</artifactId>
|
||||
<version>0.4.6</version>
|
||||
<version>0.4.7</version>
|
||||
|
||||
<name>minify-html</name>
|
||||
<description>Extremely fast and smart HTML + JS + CSS minifier</description>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
publish = false
|
||||
name = "minify-html-ffi"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
license = "MIT"
|
||||
edition = "2018"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
const fs = require("fs");
|
||||
|
||||
const common = {
|
||||
version: "0.4.6",
|
||||
version: "0.4.7",
|
||||
main: "index.node",
|
||||
types: "index.d.ts",
|
||||
files: ["postinstall.js", "index.d.ts"],
|
||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
|||
homepage = "https://github.com/wilsonzlin/minify-html"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ license = "MIT"
|
|||
homepage = "https://github.com/wilsonzlin/minify-html"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/wilsonzlin/minify-html.git"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
[package]
|
||||
publish = false
|
||||
name = "minify-html-ruby"
|
||||
version = "0.4.6"
|
||||
version = "0.4.7"
|
||||
authors = ["Wilson Lin <code@wilsonl.in>"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ require 'rake'
|
|||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "minify_html"
|
||||
spec.version = "0.4.6"
|
||||
spec.version = "0.4.7"
|
||||
spec.authors = ["Wilson Lin"]
|
||||
spec.email = ["code@wilsonl.in"]
|
||||
spec.license = "MIT"
|
||||
|
|
Loading…
Reference in New Issue