File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 55
66
77# PHP CSS Compiler
8- _ compiles SASS and LESS sources into CSS_
9- _ can be triggered from composer's script's session: compiles LESS/SASS/Compass_
8+ _ can be triggered from composer's script's section: compiles LESS|SASS|Compass_
109
1110# How to use:
1211```
1312composer require "eugene-matvejev/css-compiler"
1413```
15- ### add into composer __ scripts__ directory:
16- ```
17- "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
18- ```
19- if you have problem with min-stability you can use this solution in '_ require_ ' or '_ require-dev_ ':
14+ if you have problem with min-stability you can use this solution in '_ require(-dev)_ ':
15+ _ example_ :
2016```
2117 "eugene-matvejev/css-compiler": "^0.1",
2218 "leafo/scssphp-compass": "@dev",
2319 "leafo/scssphp": "@dev",
2420```
2521
22+ ### add callback into into composer's __ scripts__ :
23+ ```
24+ "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
25+ ```
2626_ example_ :
2727```
2828 "scripts": {
@@ -35,8 +35,8 @@ _example_:
3535```
3636### add _ css-compiler_ information inside of the _ extra_ composer configuration
3737 * _ format_ : compression format
38- * _ input_ : array of routes, all files inside of the route if it is directory will be picked up
39- * _ output_ : file where it should put content (hard-copy)
38+ * _ input_ : array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory
39+ * _ output_ : relative file path to the composer.json, where to save output (hard-copy)
4040
4141_ example_ :
4242```
You can’t perform that action at this time.
0 commit comments