hexojs / hexo-html-minifier

Minify HTML files with HTMLMinifier.
MIT License
26 stars 16 forks source link

(WIP) refactor: use htmlnano #93

Closed SukkaW closed 4 months ago

SukkaW commented 3 years ago

BREAKING CHANGES

Replace html-minifier with htmlnano.

tomap commented 3 years ago

Hi, I tested your code, and it seems it is broken by invalid option properties

I had an old option which broke the plugin:

html_minifier:
  decodeEntities: true

It might be better to change the option to html_minifier or similar?

SukkaW commented 4 months ago

Closing the issue for now. Migrating to htmlnano is a huge breaking change, let's do hexo-htmlnano instead.