Hexo plugin that minifies and beautifies generated HTML files using html-minifier and js-beautify. Version 0.0.1 (initial release). Designed as a Hexo filter plugin, processing HTML output after generation. Differentiates by combining both minification and beautification in one plugin, with configurable options exposed via _config.yml. Conflicts may arise with other Hexo HTML processing plugins.
npm install hexo-html-min-beautifyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install the plugin, configure beautification and minification options in _config.yml, and generate site.
Use separate plugins or tools for CSS/JS processing.
Verify html-minifier is in package.json; consider using newer alternatives like hexo-filter-minify.
Disable other HTML filters or ensure they run first/last. Check execution order via Hexo filter priority.
Run 'npx hexo clean && npx hexo generate' before invoking the plugin.
Run 'npm install html-minifier --save' to ensure it is installed.
Check if other plugins or your theme output non-string results. Ensure hexo version compatibility.