- Updated to match Picea's asset

This commit is contained in:
Dave M. 2023-10-17 22:36:37 -04:00
parent 26c910469a
commit e97a840d63
3 changed files with 39 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{ {
"name": "assets-package/font-awesome6", "name": "assets-package/font-awesome6",
"description": "Font awesome 6 PRO", "description": "Font awesome 6 PRO",
"type": "library", "type": "asset",
"license": "MIT", "license": "MIT",
"authors": [ "authors": [
{ {
@ -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.fontawesome6'
]
],
];

16
meta/definitions.php Normal file
View File

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