Update changelog
This commit is contained in:
parent
9d5d1bb0f3
commit
284f908c32
|
@ -3,6 +3,8 @@
|
|||
## 0.10.0
|
||||
|
||||
- Drop unmatched closing tags instead of reinterpreting them as opening tags. This avoids the possibility of unintentionally creating a large deep tree due to malformed inputs where there are repeated unmatched closing tags (e.g. broken HTML template).
|
||||
- Fix parallel minification in CLI mode, where some inputs were ignored.
|
||||
- Output file names as they're processed in parallel mode from the CLI.
|
||||
|
||||
## 0.9.2
|
||||
|
||||
|
|
|
@ -8,8 +8,8 @@ edition = "2018"
|
|||
|
||||
[dependencies]
|
||||
minify-html = { path = "../rust/main" }
|
||||
structopt = "0.3"
|
||||
rayon = "1.5"
|
||||
structopt = "0.3"
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
|
|
|
@ -98,7 +98,7 @@ fn main() {
|
|||
});
|
||||
|
||||
if args.inputs.len() <= 1 {
|
||||
// single file mode or stdin mode
|
||||
// Single file mode or stdin mode.
|
||||
let input_name = args
|
||||
.inputs
|
||||
.get(0)
|
||||
|
@ -155,6 +155,7 @@ fn main() {
|
|||
out_file.write_all(&out_code),
|
||||
"Could not save minified code"
|
||||
);
|
||||
// Just print the name, since this is the default output and any prefix becomes redundant. It'd also allow piping into another command (quite nice for something like `minify-html *.html | xargs gzip`), copying as list of files, etc.
|
||||
println!("{}", input_name);
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue