A simple CSS merger and minifier. The minifier is extremely basic without any huge logic.
git clone git@github.com:KiryiMONZTA/minifyi.git
cd minifyi
composer update- Create your configuration file.
- Open a command line.
- Navigate to
{YOURMINIFYIINSTALLATION}/bin. - Execute:
php minify.php {CONFIGFILEPATH} {RESULTFILEPATH}CONFIGFILEPATH
Optional absolute filepath to your configuration file. Default is config.txt. Must end with .txt
RESULTFILEPATH
Optional absolute filepath to your resulting merged and minified CSS file. Must end with .css. Default is style.min.css.
Create a simple text file {NAME}.txt. Then add each of your CSS file's full filepaths to it - one per line. Each file must be plain CSS with file extension .css. The order of the files is the order the rules get applied.