File tree Expand file tree Collapse file tree 1 file changed +12
-8
lines changed Expand file tree Collapse file tree 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"
1414if you have problem with min-stability you can use this solution in '_ require(-dev)_ ':
1515_ example_ :
1616```
17+ "require": {
1718 "eugene-matvejev/css-compiler": "^0.1",
1819 "leafo/scssphp-compass": "@dev",
19- "leafo/scssphp": "@dev",
20+ "leafo/scssphp": "@dev"
21+ }
2022```
2123
2224### add callback into into composer's __ scripts__ :
@@ -25,13 +27,13 @@ _example_:
2527```
2628_ example_ :
2729```
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+ }
3537```
3638### add _ css-compiler_ information inside of the _ extra_ composer configuration
3739 * _ format_ : compression format
@@ -40,6 +42,7 @@ _example_:
4042
4143_ example_ :
4244```
45+ "extra": {
4346 "css-compiler": [
4447 {
4548 "format": "compact",
@@ -63,4 +66,5 @@ _example_:
6366 "output": "var/cache/assets/compass.css"
6467 }
6568 ]
69+ }
6670```
You can’t perform that action at this time.
0 commit comments