Compress
Compresses any .min.js
and .min.css
files in the current folder (recursively).
Any existing output files (.br
or .gz
) will always be recreated.
How to
- Go to the folder that stores all your static assets (
.min.js
and.min.css
) - execute
npx --no-install github:dgrammatiko/compress
- add the flag
-b
(eg:npx --no-install github:dgrammatiko/compress -b
) to create both the.br
and.gz
files