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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 47317f7fad5e5633c4f962895d67a580dedb973ff1b124cf26415b5bc0a75bf6
4
- data.tar.gz: 54c8be85456af68447db90121e38b9faa90f5ea69c23f10c58a2d911d8d7b217
3
+ metadata.gz: e83b0423aee5805c928eaea74b59e6b230bd5445b96bc7d01de4de3d851c6651
4
+ data.tar.gz: e095ae3c16b327a8712a0ff049f4908ddf7ce3292a128f516933c00c2d455d8a
5
5
  SHA512:
6
- metadata.gz: 8a74b8742c441a840017fb309e5d571376d34d48ac533e4f240ccf46e6731a9f815ce36734513b2a21ad9151c0486ad5263cfcd6a75b766e3208cb9f3d020866
7
- data.tar.gz: 3c0feacc11bd5f91be61f0bbaf53c7c2c2bb5b0bb06e56644504da6f9f534b2836073359c4bcc4324c55440f19b5addea0c225cc4d2e4352e8edbdd549e71988
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.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">
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.3-macos-x86_64) |
36
- [Linux](https://wilsonl.in/hyperbuild/bin/0.2.3-linux-x86_64)
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.3"
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.3</version>
166
+ <version>0.2.4</version>
165
167
  </dependency>
166
168
  ```
167
169
 
Binary file
Binary file
Binary file
Binary file
Binary file
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.3
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-10 00:00:00.000000000 Z
11
+ date: 2020-07-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fiddle