npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

fly-htmlmin

2.1.0

@lukeed

npmHomeRepoSnykSocket
Downloads:2
$ npm install fly-htmlmin
DailyWeeklyMonthlyYearly

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