{"library":"karma-htmlmin-preprocessor","type":"library","category":null,"description":"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.","language":"javascript","status":"abandoned","version":"0.1.0","tags":["javascript","karma-plugin","karma-preprocessor","preprocessor","html-minifier","html-min","htmlmin","htmlminifier","minifier"],"last_verified":"Thu Jun 04","install":[{"cmd":"npm install karma-htmlmin-preprocessor","imports":["module.exports = function(config) { config.set({ preprocessors: { '**/*.html': ['html-min'] }, htmlMinPreprocessor: { collapseWhitespace: true } }); };"]},{"cmd":"yarn add karma-htmlmin-preprocessor","imports":[]},{"cmd":"pnpm add karma-htmlmin-preprocessor","imports":[]}],"homepage":"https://github.com/cliechty/karma-htmlmin-preprocessor","github":"https://github.com/cliechty/karma-htmlmin-preprocessor","docs":null,"changelog":null,"pypi":null,"npm":"karma-htmlmin-preprocessor","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}