You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improved minifyCss performance by initializing cssnano only once [#400].
Reduced aggressive cssnano transforms for inline CSS in minifyCss to avoid non-relevant minifications [#400].
Fixed
Removed peer dependency type imports from public declaration files, fixing TypeScript type usage without requiring peer dependency types to be installed [#425].
Corrected the safe preset typing for minifyJson to use its supported boolean form, improving TypeScript compatibility.
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
minifyHtmlTemplate module to minify HTML inside template containers [#11].