weh-gzip
v1.1.1
Published
weh plugin for making gzip alternates
Readme
weh-gzip
a weh plugin that makes gzip versions of every file that isn't already a gzip file
usage
npm install weh-gzipweh(async site => {
site.use(require('weh-gzip'));
return site
})options
most likely the only option you'll care about is level. 1 is fastest, 9 is most compressed
site.use(require('weh-gzip'), { level: 9 });other available options are listed in pako's documentation, refer to it for more info
