Skip to content

oxSteven/minifyi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kiryi's MINIFYI

A simple CSS merger and minifier. The minifier is extremely basic without any huge logic.

Installation

git clone git@github.com:KiryiMONZTA/minifyi.git
cd minifyi
composer update

Usage

  • Create your configuration file.
  • Open a command line.
  • Navigate to {YOURMINIFYIINSTALLATION}/bin.
  • Execute:
php minify.php {CONFIGFILEPATH} {RESULTFILEPATH}

Parameters

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.

Configuration File

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.

About

A simple CSS merger and minifier.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages