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