mirror of https://github.com/curbengh/hexo-yam
Set maximum brotli compression level
This commit is contained in:
parent
1c8c24029f
commit
03668833cf
|
@ -158,7 +158,7 @@ function logic_brotli() {
|
|||
currentFile.endsWith(".txt")) {
|
||||
var inp = fs.createReadStream(currentFile);
|
||||
var out = fs.createWriteStream(currentFile+'.br');
|
||||
var brotli = br.compressStream;
|
||||
var brotli = br.compressStream('quality=16');
|
||||
inp.pipe(brotli()).pipe(out);
|
||||
|
||||
if (options.logger) {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "hexo-yam",
|
||||
"description": "Yet Another Minifier. Minify and compress html, js and css",
|
||||
"version": "0.5.0",
|
||||
"version": "0.5.1",
|
||||
"readme": "README.md",
|
||||
"main": "index.js",
|
||||
"directories": {
|
||||
|
|
Loading…
Reference in New Issue