boludeces

This commit is contained in:
Cat /dev/Nulo 2023-04-23 21:11:25 -03:00
parent a45e4f196a
commit aaa5d81e96
2 changed files with 3 additions and 1 deletions

2
.gitignore vendored
View file

@ -1,5 +1,7 @@
node_modules/ node_modules/
input*/ input*/
keywords-no-compressed/
keywords-no-compressed.zip
*.sqlite3 *.sqlite3
*.sqlite3-shm *.sqlite3-shm
*.sqlite3-wal *.sqlite3-wal

View file

@ -42,7 +42,7 @@ async function recurse(parent, strip) {
const brotli = createBrotliCompress({ const brotli = createBrotliCompress({
params: { params: {
[constants.BROTLI_PARAM_MODE]: constants.BROTLI_MODE_TEXT, [constants.BROTLI_PARAM_MODE]: constants.BROTLI_MODE_TEXT,
[constants.BROTLI_PARAM_QUALITY]: constants.BROTLI_MIN_QUALITY, [constants.BROTLI_PARAM_QUALITY]: 11,
[constants.BROTLI_PARAM_SIZE_HINT]: (await stat(realPath)).size, [constants.BROTLI_PARAM_SIZE_HINT]: (await stat(realPath)).size,
}, },
}); });