fly-htmlmin

2.1.0 • Public • Published

fly-htmlmin

Minify HTML with Fly.

Install

npm install --save-dev fly-htmlmin

Usage

exports.minify = function * (fly) {
  yield fly.source('src/*.html')
    .htmlmin({
      removeComments: false
    })
    .target('dist');
}

API

.htmlmin(options)

This plugin offers no unique options.

However, it has a number of default settings that you may override.

Please see HTML-Minifier's Options for a full list of available options.

License

MIT © Luke Edwards

Package Sidebar

Install

npm i fly-htmlmin

Weekly Downloads

1

Version

2.1.0

License

MIT

Last publish

Collaborators

  • lukeed