- WIP on Picea's asset autoload
This commit is contained in:
parent
6318cfe12e
commit
b5f3066d3f
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "assets-package/font-awesome5",
|
||||
"description": "Font awesome 5 PRO",
|
||||
"type": "library",
|
||||
"type": "asset",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
|
@ -10,5 +10,17 @@
|
|||
}
|
||||
],
|
||||
"require": {},
|
||||
"autoload": {}
|
||||
"autoload": {},
|
||||
"extra" : {
|
||||
"lean" : {
|
||||
"autoload": {
|
||||
"definitions" : [
|
||||
"meta/definitions.php"
|
||||
],
|
||||
"config": [
|
||||
"meta/config.php"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
return [
|
||||
'lean' => [
|
||||
'autoload' => [
|
||||
'assets.fontawesome5'
|
||||
]
|
||||
],
|
||||
];
|
|
@ -0,0 +1,18 @@
|
|||
<?php
|
||||
|
||||
$path = __DIR__;
|
||||
|
||||
return [
|
||||
'assets.fontawesome5' => [
|
||||
'picea' => [
|
||||
'asset' => [
|
||||
'source' => [
|
||||
[
|
||||
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
|
||||
'order' => 10
|
||||
]
|
||||
],
|
||||
]
|
||||
],
|
||||
],
|
||||
];
|
Loading…
Reference in New Issue