hyperbuild 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -8
- data/lib/linux-ruby2.5 +0 -0
- data/lib/linux-ruby2.6 +0 -0
- data/lib/linux-ruby2.7 +0 -0
- data/lib/macos-ruby2.5 +0 -0
- data/lib/macos-ruby2.6 +0 -0
- data/lib/macos-ruby2.7 +0 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 47317f7fad5e5633c4f962895d67a580dedb973ff1b124cf26415b5bc0a75bf6
|
|
4
|
+
data.tar.gz: 54c8be85456af68447db90121e38b9faa90f5ea69c23f10c58a2d911d8d7b217
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8a74b8742c441a840017fb309e5d571376d34d48ac533e4f240ccf46e6731a9f815ce36734513b2a21ad9151c0486ad5263cfcd6a75b766e3208cb9f3d020866
|
|
7
|
+
data.tar.gz: 3c0feacc11bd5f91be61f0bbaf53c7c2c2bb5b0bb06e56644504da6f9f534b2836073359c4bcc4324c55440f19b5addea0c225cc4d2e4352e8edbdd549e71988
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@ A fast one-pass in-place HTML minifier written in Rust with context-aware whites
|
|
|
5
5
|
Also supports JS minification by plugging into [esbuild](https://github.com/evanw/esbuild).
|
|
6
6
|
|
|
7
7
|
Available as:
|
|
8
|
-
- CLI for
|
|
8
|
+
- CLI for macOS and Linux.
|
|
9
9
|
- Rust library.
|
|
10
10
|
- Native library for Node.js, Python, Java, and Ruby.
|
|
11
11
|
|
|
@@ -20,21 +20,20 @@ Available as:
|
|
|
20
20
|
|
|
21
21
|
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.
|
|
22
22
|
|
|
23
|
-
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.2.
|
|
23
|
+
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.2.3/average-speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.2.3/average-sizes.png">
|
|
24
24
|
|
|
25
25
|
## Usage
|
|
26
26
|
|
|
27
27
|
### CLI
|
|
28
28
|
|
|
29
|
-
Precompiled binaries are available for x86-64
|
|
29
|
+
Precompiled binaries are available for x86-64 macOS and Linux.
|
|
30
30
|
|
|
31
31
|
Building from source currently requires the Go compiler to be installed as well, to build the [JS minifier](https://github.com/evanw/esbuild).
|
|
32
32
|
|
|
33
33
|
##### Get
|
|
34
34
|
|
|
35
|
-
[
|
|
36
|
-
[
|
|
37
|
-
[Linux](https://wilsonl.in/hyperbuild/bin/0.2.2-linux-x86_64)
|
|
35
|
+
[macOS](https://wilsonl.in/hyperbuild/bin/0.2.3-macos-x86_64) |
|
|
36
|
+
[Linux](https://wilsonl.in/hyperbuild/bin/0.2.3-linux-x86_64)
|
|
38
37
|
|
|
39
38
|
##### Use
|
|
40
39
|
|
|
@@ -53,7 +52,7 @@ hyperbuild --src /path/to/src.html --out /path/to/output.min.html
|
|
|
53
52
|
|
|
54
53
|
```toml
|
|
55
54
|
[dependencies]
|
|
56
|
-
hyperbuild = "0.2.
|
|
55
|
+
hyperbuild = "0.2.3"
|
|
57
56
|
```
|
|
58
57
|
|
|
59
58
|
##### Use
|
|
@@ -162,7 +161,7 @@ Add as a Maven dependency:
|
|
|
162
161
|
<dependency>
|
|
163
162
|
<groupId>in.wilsonl.hyperbuild</groupId>
|
|
164
163
|
<artifactId>hyperbuild</artifactId>
|
|
165
|
-
<version>0.2.
|
|
164
|
+
<version>0.2.3</version>
|
|
166
165
|
</dependency>
|
|
167
166
|
```
|
|
168
167
|
|
data/lib/linux-ruby2.5
CHANGED
|
Binary file
|
data/lib/linux-ruby2.6
CHANGED
|
Binary file
|
data/lib/linux-ruby2.7
CHANGED
|
Binary file
|
data/lib/macos-ruby2.5
CHANGED
|
Binary file
|
data/lib/macos-ruby2.6
CHANGED
|
Binary file
|
data/lib/macos-ruby2.7
CHANGED
|
Binary file
|