@siteone/builder-plugin-gzip
v0.12.0
Published
> plugin for preparing compressed assets with `gzip`
Downloads
11
Keywords
Readme
@siteone/builder-plugin-gzip
plugin for preparing compressed assets with
gzip
Install
$ npm install --save-dev @siteone/builder-plugin-gzip
Usage
None – recognized by and attached to @siteone/builder-core
automatically!
Config
Configurable via the gzip
key on your bldr.config.js
file.
Default Config:
exports.gzip = {
cache: true,
threshold: 0,
minRatio: 0.8,
compressionOptions: {
level: 9
}
}
Available Options:
See Options for compression-webpack-plugin
.
Also see zlib
Options for the compressionOptions
object.