- 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": {}, "autoload": {},
"extra" : { "extra" : {
"lean" : { "lean" : {
"autoload": [ "autoload": {
"definitions" : [
"definitions.php" "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 <?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
] ]
], ],