Gulp plugin that minifies HTML using the html-minifier library. Version 0.1.8 is the latest stable release. The plugin wraps html-minifier's options, adding convenience features like ignorePath (to remove path segments from output) and an environment flag to skip minification in development. It is a legacy gulp plugin from the early gulp ecosystem, relying on gulp streams (not through2 or newer patterns). No longer actively maintained; consider using gulp-htmlmin or integrating html-minifier directly.
npm install gulp-html-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic gulp task that minifies all HTML files with common html-minifier options and outputs to dist.
Switch to 'gulp-htmlmin' (gulp plugin) or use html-minifier directly with through2.
Use gulp v3 or wrap the stream with `through2` and handle `end` event properly.
Check html-minifier docs for all options; some may not be passed through.
Run 'npm install gulp-html-minifier' (note hyphens).
Use 'const htmlmin = require('gulp-html-minifier');' or import default.