File tree 1 file changed +9
-9
lines changed
1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 5
5
6
6
7
7
# 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_
10
9
11
10
# How to use:
12
11
```
13
12
composer require "eugene-matvejev/css-compiler"
14
13
```
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_ :
20
16
```
21
17
"eugene-matvejev/css-compiler": "^0.1",
22
18
"leafo/scssphp-compass": "@dev",
23
19
"leafo/scssphp": "@dev",
24
20
```
25
21
22
+ ### add callback into into composer's __ scripts__ :
23
+ ```
24
+ "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
25
+ ```
26
26
_ example_ :
27
27
```
28
28
"scripts": {
@@ -35,8 +35,8 @@ _example_:
35
35
```
36
36
### add _ css-compiler_ information inside of the _ extra_ composer configuration
37
37
* _ 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)
40
40
41
41
_ example_ :
42
42
```
You can’t perform that action at this time.
0 commit comments