Hexo plugin to minify HTML output using html-minifier-terser. Current stable version is 1.0.0 (released January 2022). This plugin integrates with Hexo's filter system to automatically minify generated HTML files during the build process. It provides configurable options via Hexo's _config.yml, including exclusion patterns and all html-minifier-terser settings. Compared to alternatives like hexo-html-minifier, this plugin uses the maintained terser fork of html-minifier, offering continued support and security updates.
npm install hexo-html-minifier-terserNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the plugin, configures HTML minification options in Hexo's config, and runs the build process.
Update Node.js to version 14 or higher, or pin html-minifier-terser to 6.x.
Run: npm install html-minifier-terser --save