Age | Commit message (Collapse) | Author |
|
KeepConditionalComments was deprecated in the upstream library and replaced with KeepSpecialComments. This new option reflects that both conditional comments and Server Side Include comments can be optionally stripped by the minifier. As with KeepConditionalComments, the minifier is configured not to strip them by default.
|
|
Also consolidate so the mediaTypes and outputFormats are listed once only.
Fixes #11328
|
|
Fixes #11012
|
|
Primary motivation is documentation, but it will also hopefully simplify the code.
Also,
* Lower case the default output format names; this is in line with the custom ones (map keys) and how
it's treated all the places. This avoids doing `stringds.EqualFold` everywhere.
Closes #10896
Closes #10620
|
|
Fixes #9713
Fixes #9740
Adds support for minify.tdewolff.svg.keepComments (bool)
|
|
Updates #9687
|
|
Closes #9456
|
|
Fixes #8771
|
|
The main motivation behind this is simplicity and correctnes, but the new small config library is also faster:
```
BenchmarkDefaultConfigProvider/Viper-16 252418 4546 ns/op 2720 B/op 30 allocs/op
BenchmarkDefaultConfigProvider/Custom-16 450756 2651 ns/op 1008 B/op 6 allocs/op
```
Fixes #8633
Fixes #8618
Fixes #8630
Updates #8591
Closes #6680
Closes #5192
|
|
Fixes #8258
|
|
Closes #7792
This reverts commit b254532b52785954c98a473a635b9cea016d8565.
|
|
|
|
|
|
Fixes #6750
Updates #6892
|