File tree 1 file changed +12
-8
lines changed
1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -14,9 +14,11 @@ composer require "eugene-matvejev/css-compiler"
14
14
if you have problem with min-stability you can use this solution in '_ require(-dev)_ ':
15
15
_ example_ :
16
16
```
17
+ "require": {
17
18
"eugene-matvejev/css-compiler": "^0.1",
18
19
"leafo/scssphp-compass": "@dev",
19
- "leafo/scssphp": "@dev",
20
+ "leafo/scssphp": "@dev"
21
+ }
20
22
```
21
23
22
24
### add callback into into composer's __ scripts__ :
@@ -25,13 +27,13 @@ _example_:
25
27
```
26
28
_ example_ :
27
29
```
28
- "scripts": {
29
- "post-update-cmd": "@custom-events",
30
- "post-install-cmd": "@custom-events",
31
- "custom-events": [
32
- "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
33
- ]
34
- },
30
+ "scripts": {
31
+ "post-update-cmd": "@custom-events",
32
+ "post-install-cmd": "@custom-events",
33
+ "custom-events": [
34
+ "EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
35
+ ]
36
+ }
35
37
```
36
38
### add _ css-compiler_ information inside of the _ extra_ composer configuration
37
39
* _ format_ : compression format
@@ -40,6 +42,7 @@ _example_:
40
42
41
43
_ example_ :
42
44
```
45
+ "extra": {
43
46
"css-compiler": [
44
47
{
45
48
"format": "compact",
@@ -63,4 +66,5 @@ _example_:
63
66
"output": "var/cache/assets/compass.css"
64
67
}
65
68
]
69
+ }
66
70
```
You can’t perform that action at this time.
0 commit comments