Skip to content

Releases: kangax/html-minifier

3.3.0

24 Jan 17:19
Compare
Choose a tag to compare

Improvements

  • upgrade to clean-css 4.0.0 (#772)

3.2.3

24 Nov 06:55
Compare
Choose a tag to compare

Bug fixes

  • retain attribute quotes around values containing custom fragments (#757, #760)

3.2.0

17 Nov 13:48
Compare
Choose a tag to compare

a.k.a. 3.2.2 (npm SNAFU Edition) 😏

Improvements

  • remove change-case from dependencies (#736)
  • extend removeEmptyAttributes to allow custom rules (#744)

3.1.1

06 Nov 09:49
Compare
Choose a tag to compare

Bug fixes

  • fix backreferences usage in ignoreCustomFragments (#733, #738)

3.1.0

26 Sep 02:31
Compare
Choose a tag to compare

Bug fixes

  • handle line-breaks around custom fragments gracefully (#719, #720)

Improvements

  • improve collapseWhitespace with trimCustomFragments (#722, #723)

3.0.3

16 Sep 06:55
Compare
Choose a tag to compare

Bug fixes

  • collapseWhitespace removes attribute whitespaces in <wbr> (#713, #715)

3.0.2

30 Jul 15:27
Compare
Choose a tag to compare

Bug fixes

  • removeComments overrides htmlmin:ignore sometimes (#696, #699)

3.0.1

09 Jul 04:55
Compare
Choose a tag to compare

Bug fixes

  • cli does not process subdirectories when --file-ext is specified (#686, #687)

Improvements

  • cli --input-dir no long creates empty subdirectories (#688)

3.0.0

08 Jul 07:29
Compare
Choose a tag to compare

Improvements

  • support selective batch processing with --file-ext (#665, #680)
  • drop support for Node.js 0.10 (#682, #683)

2.1.7

03 Jul 06:54
Compare
Choose a tag to compare

Bug fixes

  • fix whitespace interactions between minifyCSS and collapseWhitespace (#664, #676)
  • fix interactions between minifyJS and ignoreCustomFragments (#679, #681)

Improvements

  • support minifyCSS on media queries (#669, #677)