- WIP on Picea's asset autoload
This commit is contained in:
parent
3043152ea4
commit
4beeb18a27
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "assets-package/undraw",
|
"name": "assets-package/undraw",
|
||||||
"description": "Undraw collection of SVG",
|
"description": "Undraw collection of SVG",
|
||||||
"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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
'lean' => [
|
||||||
|
'autoload' => [
|
||||||
|
'assets.undraw'
|
||||||
|
]
|
||||||
|
],
|
||||||
|
];
|
|
@ -0,0 +1,18 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
$path = __DIR__;
|
||||||
|
|
||||||
|
return [
|
||||||
|
'assets.undraw' => [
|
||||||
|
'picea' => [
|
||||||
|
'asset' => [
|
||||||
|
'source' => [
|
||||||
|
[
|
||||||
|
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
|
||||||
|
'order' => 10
|
||||||
|
]
|
||||||
|
],
|
||||||
|
]
|
||||||
|
],
|
||||||
|
],
|
||||||
|
];
|
Loading…
Reference in New Issue