File tree 1 file changed +10
-12
lines changed
1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 10
10
[ ![ composer.lock] ( https://poser.pugx.org/eugene-matvejev/css-compiler/composerlock )] ( https://packagist.org/packages/eugene-matvejev/css-compiler )
11
11
12
12
13
- # PHP CSS Compiler
13
+ # PHP CSS compiler with composer handler
14
14
_ can be triggered from composer's script's section: compiles SCSS with compass|LESS_
15
15
16
- # How to use:
17
- ```
18
- composer require "eugene-matvejev/css-compiler"
19
- ```
16
+ ## how to use
17
+ ` composer require eugene-matvejev/css-compiler `
20
18
21
- ### add callback into into composer's __ scripts__ :
22
- ```
23
- "EM\\CssCompiler\\ScriptHandler::generateCSS"
24
- ```
25
- _ example_ :
19
+ ### add callback into into composer's __ scripts__
20
+ ` "EM\\CssCompiler\\ScriptHandler::generateCSS" `
21
+
22
+ _ example_
26
23
```
27
24
"scripts": {
28
25
"post-update-cmd": "@custom-events",
@@ -32,12 +29,13 @@ _example_:
32
29
]
33
30
}
34
31
```
32
+
35
33
### add _ css-compiler_ information inside of the _ extra_ composer configuration
36
34
* _ format_ : compression format
37
35
* _ input_ : array of relative paths to the composer.json, all files will be picked up recursivly inside of the directory
38
- * _ output_ : relative file path to the composer.json, where to save output (hard-copy)
36
+ * _ output_ : relative file path to the composer.json, where to save output (hard-copy)
39
37
40
- _ example_ :
38
+ _ example_
41
39
```
42
40
"extra": {
43
41
"css-compiler": [
You can’t perform that action at this time.
0 commit comments