mirror of
https://gitlab.com/CodeSolutionsProject/MiniThunder.git
synced 2026-02-14 00:51:34 +01:00
1.1 KiB
Executable File
1.1 KiB
Executable File
MiniThunder
Minimize project to production, saving space (Not reversible)
Python version
It supports html/css/js files
Requires
Use
python minithunder.py Folder/proyect Folder/minified
Bash version
It supports html/xml,js,css,png and jpg files
Requires
- html-minifier
- clean-css-cli
- uglify-js
- optipng - ZLIB LICENSE (OPEN SOURCE)
- jpegoptim - GPL
Use
bash minithunder.sh Folder/proyect
Install dependencies in Debian and derivates (All as root)
# apt install optipng jpegoptim uglifyjs cleancss npm
# npm install html-minifier -g
Install dependencies in Archlinux (All as root)
# pacman -S optipng jpegoptim npm
# npm install html-minifier clean-css-cli uglify-js -g