Releases: posthtml/htmlnano
Releases · posthtml/htmlnano
0.2.0
Breaking changes
- The API of
minifyCss
module has been changed sincecssnano
has been updated to version 4, which has a different API. Check the following resources for more info:- htmlnano docs
- cssnano docs
- Diff of commit 979f2c with the changes of related docs.
Added
- Add presets (#64).
- Add
collapseAttributeWhitespace
module for collapsing spaces in list-like attributes (#25). - Add
deduplicateAttributeValues
module for de-duplicating values in list-like attributes (#39). - Better support for AMP pages (#59).
- Collapse whitespaces between top-level tags (#24).
Changed
- Improve whitespace normalization using
normalize-html-whitespace
(#21).
Fixed
- Don't collapse
visible="false"
attributes in A-Frame pages (#62).