A Hexo plugin that bundles HTML, CSS, JS minification, image optimization, HTML useref, and favicon generation into a single filter. Version 1.2.2, last updated in 2019. It replaces the older hexo-all-minifier with fixes for submodule bugs and adds useref support. Key differentiator: all-in-one cleanup for Hexo sites with configurable options for each asset type. No longer actively maintained; users may prefer individual hexo minifier plugins or newer alternatives.
npm install hexo-filter-cleanupNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic installation and configuration of the plugin with all minification features enabled.
Consider using individual hexo minifier plugins (hexo-html-minifier, hexo-clean-css, hexo-uglify, hexo-imagemin) or switch to hexo-all-minifier if it resolves issues.
Disable favicon generation (enable: false) or test with Node 10/12.
Disable other minifier plugins when using hexo-filter-cleanup to avoid duplication.
Set hfc_favicons.enable: false or provide a valid hfc_favicons.src path.
Downgrade Hexo to 4.x or switch to alternative minifier plugins.