Minify HTML files in a FIS3 build pipeline using html-minifier. Version 0.0.1 is the latest and only release, no release cadence defined. This plugin is meant to be used with the FIS3 build system, not standalone. It defaults to removing comments, collapsing whitespace, and minifying inline JS. Compared to other minifiers, it integrates tightly with FIS3's module system and is not intended for general use outside of FIS3.
npm install fis3-postpackager-htmlminNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to configure and run the HTML minification plugin with FIS3.
Install with -g flag: npm install -g fis3-postpackager-htmlmin
Use fis.config.set('modules.postpackager', ['htmlmin']) (array brackets)Use fis.config.set() for setting configuration.
npm install html-minifier --save-dev