weh-gzip
a weh plugin that makes gzip versions of every file that isn't already a gzip file
usage
npm install weh-gzip
weh(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