Skip to content

Bechrissed/fly-brotli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Generate brotli compress files with Fly.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published