hyperbuild 0.2.3 → 0.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -7
- 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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e83b0423aee5805c928eaea74b59e6b230bd5445b96bc7d01de4de3d851c6651
|
4
|
+
data.tar.gz: e095ae3c16b327a8712a0ff049f4908ddf7ce3292a128f516933c00c2d455d8a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d9adcacde88b2985ae0488ea1555c6c83ac376492cd21c2316fa3130176ccce17c11c75f2d7ed30f94c03bd1454bc117221dc63523e45c69d305aa2fb562803f
|
7
|
+
data.tar.gz: d19a164fc4709d8448408f54d417d62df4bd5bcf7eda5d90296c987c350ce1611dec530a23dffc6915bf19f63550bbd88e6bea73df8446b079f43382ff27338f
|
data/README.md
CHANGED
@@ -20,7 +20,7 @@ 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.4/average-speeds.png"> <img width="435" alt="Chart showing effectiveness of HTML minifiers" src="https://wilsonl.in/hyperbuild/bench/0.2.4/average-sizes.png">
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
@@ -28,12 +28,10 @@ Speed and effectiveness of Node.js version compared to [html-minfier](https://gi
|
|
28
28
|
|
29
29
|
Precompiled binaries are available for x86-64 macOS and Linux.
|
30
30
|
|
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
|
-
|
33
31
|
##### Get
|
34
32
|
|
35
|
-
[macOS](https://wilsonl.in/hyperbuild/bin/0.2.
|
36
|
-
[Linux](https://wilsonl.in/hyperbuild/bin/0.2.
|
33
|
+
[macOS](https://wilsonl.in/hyperbuild/bin/0.2.4-macos-x86_64) |
|
34
|
+
[Linux](https://wilsonl.in/hyperbuild/bin/0.2.4-linux-x86_64)
|
37
35
|
|
38
36
|
##### Use
|
39
37
|
|
@@ -52,9 +50,13 @@ hyperbuild --src /path/to/src.html --out /path/to/output.min.html
|
|
52
50
|
|
53
51
|
```toml
|
54
52
|
[dependencies]
|
55
|
-
hyperbuild = "0.2.
|
53
|
+
hyperbuild = { version = "0.2.4", features = ["js-esbuild"] }
|
56
54
|
```
|
57
55
|
|
56
|
+
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).
|
57
|
+
|
58
|
+
If the `js-esbuild` feature is not enabled, `cfg.minify_js` will have no effect.
|
59
|
+
|
58
60
|
##### Use
|
59
61
|
|
60
62
|
```rust
|
@@ -161,7 +163,7 @@ Add as a Maven dependency:
|
|
161
163
|
<dependency>
|
162
164
|
<groupId>in.wilsonl.hyperbuild</groupId>
|
163
165
|
<artifactId>hyperbuild</artifactId>
|
164
|
-
<version>0.2.
|
166
|
+
<version>0.2.4</version>
|
165
167
|
</dependency>
|
166
168
|
```
|
167
169
|
|
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
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hyperbuild
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wilson Lin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-07-
|
11
|
+
date: 2020-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fiddle
|