precompress
precompress copied to clipboard
CLI to compress files to gzip and brotli
Depends on https://github.com/nodejs/node/issues/48412
Sometimes it does not use multiple processor cores for some reason. I think we're better off spawning child processes instead of relying on this mostly undocumented libuv feature `UV_THREADPOOL_SIZE`.
I could not get the --include flag working, so I tried cloning the repo. `make build` works fine `make test` fails all but the last two tests. It complains there...