Karma preprocessor plugin that minifies HTML files using html-minifier before they are served to the browser. Version 0.1.0 is the only release (2014), no longer maintained. Useful when combined with other preprocessors like karma-ng-html2js-preprocessor to reduce HTML file size in AngularJS directive templates. Note that this plugin only defines the 'htmlMin' preprocessor; actual minification behavior is controlled via the htmlMinPreprocessor configuration object, which passes options to html-minifier. Requires Karma ~0.10 but may work with newer versions.
npm install karma-htmlmin-preprocessorNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Install karma-htmlmin-preprocessor and configure it in karma.conf.js to minify HTML files before testing.
Consider using modern alternatives like karma-html2js-preprocessor with minification built-in or custom preprocessors.
Run `npm install html-minifier --save-dev` alongside this package.
Use 'html-min' as the preprocessor name in `preprocessors`.
Run `npm install karma-htmlmin-preprocessor --save-dev` and check that it is in devDependencies.
Run `npm install html-minifier --save-dev`.