From cd8713794c955fa65e43e75f7e403a5834f2b96a Mon Sep 17 00:00:00 2001 From: Eugene Matvejev Date: Sat, 18 Jun 2016 06:25:02 +0300 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 5b5ad30..055462b 100644 --- a/README.md +++ b/README.md @@ -2,12 +2,12 @@ * can be triggered from composer's script's session: compiles LESS/SASS/Compass # How to use: -1. add into composer __scripts__ directory: +### add into composer __scripts__ directory: ``` "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS" ``` -example: +_example_: ``` "scripts": { "post-update-cmd": "@custom-events", @@ -17,7 +17,12 @@ example: ] }, ``` -2. add _css-compiler_ information inside of the _extra_ composer configuration +### add _css-compiler_ information inside of the _extra_ composer configuration + * _format_: compression format + * _input_: array of routes, all files inside of the route if it is directory will be picked up + * _output_: file where it should put content (hard-copy) + +_example_: ``` "css-compiler": [ { @@ -43,8 +48,3 @@ example: } ] ``` - -#legend - _format_: compression format - _input_: array of routes, all files inside of the route if it is directory will be picked up - _output_: file where it should put content (hard-copy)