fly-brotli

0.0.7 • Public • Published

Generate brotli compressed files with Fly.

Install

npm install --save-dev fly-brotli

Usage

exports.compress = function * (fly) {
  yield fly.source('src/*.html')
    .brotli()
    .target('dist');
}

API

.brotli(options)

This plugin offers no unique options.

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

Please see brotli.js's Options for a full list of available options.

License

MIT © Chris Koster

Dependents (0)

Package Sidebar

Install

npm i fly-brotli

Weekly Downloads

0

Version

0.0.7

License

MIT

Last publish

Collaborators

  • bechrissed