3.1.0
This release touches almost the whole htmlnano code. Minifier modules are fully covered by tests, and many new edge cases were added, so I don’t expect regressions, but please be aware.
Added
minifyHtmlTemplatemodule to minify HTML inside template containers [#11].removeEmptyElementsmodule [#8].minifyAttributesimprovements: new module for meta refresh optimization and options for redundant whitespace handling [#37].removeCommentsnow supports a regex string in JSON config [#255].- Fallback SVG optimization.
Changed
- Upgrade to PurgeCSS v8.
- Expanded and hardened behavior across all minifier modules.
- Updated SVGO peer dependency range to
^4.0.0and synced peer/dev versions [#394].