- Added an autoload config
This commit is contained in:
parent
0c5539f066
commit
11329b8716
|
@ -13,9 +13,14 @@
|
||||||
"autoload": {},
|
"autoload": {},
|
||||||
"extra" : {
|
"extra" : {
|
||||||
"lean" : {
|
"lean" : {
|
||||||
"autoload": [
|
"autoload": {
|
||||||
"definitions.php"
|
"definitions" : [
|
||||||
]
|
"definitions.php"
|
||||||
|
],
|
||||||
|
"config": [
|
||||||
|
"config.php"
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'lean' => [
|
||||||
|
'autoload' => [
|
||||||
|
'asset.flexbox'
|
||||||
|
]
|
||||||
|
],
|
||||||
|
];
|
|
@ -1,16 +1,12 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
use function DI\autowire, DI\create, DI\get;
|
|
||||||
|
|
||||||
$path = __DIR__;
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'assets:flexbox' => [
|
'assets.flexbox' => [
|
||||||
'picea' => [
|
'picea' => [
|
||||||
'asset' => [
|
'asset' => [
|
||||||
'source' => [
|
'source' => [
|
||||||
[
|
[
|
||||||
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
|
'path' => implode(DIRECTORY_SEPARATOR, [ __DIR__, "asset", '' ]),
|
||||||
'order' => 10
|
'order' => 10
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in New Issue