Generate brotli compressed files with Fly.
npm install --save-dev fly-brotli
exports.compress = function * (fly) {
yield fly.source('src/*.html')
.brotli()
.target('dist');
}
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.
MIT © Chris Koster