mimosa-minify-html

0.5.0 • Public • Published

mimosa-minify-html

Overview

This module uses html-minifier to minify .html files.

For more information regarding Mimosa, see http://mimosa.io.

Usage

Add 'minify-html' to your list of modules. That's all! Mimosa will install the module for you when you start mimosa watch or mimosa build.

Functionality

During mimosa build and mimosa watch, when the --minify flag is enabled, this module will optimize .html files.

Default Config

minifyHtml: {
  options: {}
}
  • options an object, pass-through options to the html-minifier library.

Option Reference:

Package Sidebar

Install

npm i mimosa-minify-html

Weekly Downloads

2

Version

0.5.0

License

MIT

Last publish

Collaborators

  • dbashford