Skip to content

Commit be08df2

Browse files
author
Eugene Matvejev
authored
Merge pull request #14 from learn-symfony/eugene-matvejev-patch-1
Update README.md
2 parents cdfd186 + cd87137 commit be08df2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
* can be triggered from composer's script's session: compiles LESS/SASS/Compass
33

44
# How to use:
5-
1. add into composer __scripts__ directory:
5+
### add into composer __scripts__ directory:
66
```
77
"EM\\CssCompiler\\Handler\\ScriptHandler::compileCSS"
88
```
99

10-
example:
10+
_example_:
1111
```
1212
"scripts": {
1313
"post-update-cmd": "@custom-events",
@@ -17,7 +17,12 @@ example:
1717
]
1818
},
1919
```
20-
2. add _css-compiler_ information inside of the _extra_ composer configuration
20+
### add _css-compiler_ information inside of the _extra_ composer configuration
21+
* _format_: compression format
22+
* _input_: array of routes, all files inside of the route if it is directory will be picked up
23+
* _output_: file where it should put content (hard-copy)
24+
25+
_example_:
2126
```
2227
"css-compiler": [
2328
{
@@ -43,8 +48,3 @@ example:
4348
}
4449
]
4550
```
46-
47-
#legend
48-
_format_: compression format
49-
_input_: array of routes, all files inside of the route if it is directory will be picked up
50-
_output_: file where it should put content (hard-copy)

0 commit comments

Comments
 (0)