Socket
Book a DemoInstallSign in
Socket

fly-htmlmin

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fly-htmlmin

Minify HTML with Fly

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

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

Keywords

fly

FAQs

Package last updated on 01 Feb 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts