A Reptar plugin that integrates html-minifier into the didBuild lifecycle step. Current stable version is 2.0.0, with infrequent releases. It allows configuring html-minifier options via a simple function call. Key differentiator: it is purpose-built for Reptar static site generator, unlike general HTML minifiers. Alternatives include using html-minifier directly or other build tools.
npm install reptar-html-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install and configure reptar-html-minifier in your Reptar config to minify HTML after build.
Install Reptar first: npm install reptar
Replace plugin with custom didBuild function using html-minifier-terser.
Validate options against html-minifier documentation before adding them.
Run: npm install html-minifier
Use: const reptarHtmlMinifier = require('reptar-html-minifier'); then call reptarHtmlMinifier({...}) as a function.