- WIP on Picea's asset autoload

This commit is contained in:
Dave M. 2023-10-17 17:58:14 +00:00
parent ef4e57ff04
commit f5546d0a29
3 changed files with 40 additions and 1 deletions

View File

@ -10,5 +10,17 @@
} }
], ],
"require": {}, "require": {},
"autoload": {} "autoload": {},
"extra" : {
"lean" : {
"autoload": {
"definitions" : [
"meta/definitions.php"
],
"config": [
"meta/config.php"
]
}
}
}
} }

9
meta/config.php Normal file
View File

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

18
meta/definitions.php Normal file
View File

@ -0,0 +1,18 @@
<?php
$path = __DIR__;
return [
'assets.normalize-css' => [
'picea' => [
'asset' => [
'source' => [
[
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
'order' => 10
]
],
]
],
],
];