A Digo plugin that minifies HTML files using html-minifier. Version 0.1.0 is the current stable release. It integrates seamlessly with Digo build system, providing extensive configuration options mirroring html-minifier's API. Key differentiators include automatic minification of inline CSS and JS, and support for custom fragment handling. The plugin does not generate source maps. It is primarily for use within the Digo ecosystem.
npm install digo-html-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to use the plugin within Digo to minify HTML files with common options.
Use alternative minification approach if source maps are required.
Ensure Digo is installed and pipeline is configured properly.
Explicitly set minifyCSS: true, minifyJS: true, or minifyURLs: true in options.
Run 'npm install digo-html-minifier -g' for global install, or 'npm install digo-html-minifier --save-dev' for local project.
Use 'const digo = require('digo');' and ensure Digo version is compatible.