- Added an autoload config

This commit is contained in:
Dave M. 2023-10-17 17:27:54 +00:00
parent 0c5539f066
commit 11329b8716
3 changed files with 19 additions and 9 deletions

View File

@ -13,9 +13,14 @@
"autoload": {},
"extra" : {
"lean" : {
"autoload": [
"definitions.php"
]
"autoload": {
"definitions" : [
"definitions.php"
],
"config": [
"config.php"
]
}
}
}
}

9
config.php Normal file
View File

@ -0,0 +1,9 @@
<?php
return [
'lean' => [
'autoload' => [
'asset.flexbox'
]
],
];

View File

@ -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
]
],