Compare commits

..
2 Commits
Author SHA1 Message Date
mcndave ba8e846905 - WIP on autoload 2023-10-17 18:22:09 +00:00
mcndave 4beeb18a27 - WIP on Picea's asset autoload 2023-10-17 17:58:31 +00:00
3 changed files with 39 additions and 2 deletions

No files matched your search

+14 -2
View File
@@ -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"
]
}
}
}
} }
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'lean' => [
'autoload' => [
'assets.undraw'
]
],
];
+16
View File
@@ -0,0 +1,16 @@
<?php
return [
'assets.undraw' => [
'picea' => [
'asset' => [
'source' => [
[
'path' => implode(DIRECTORY_SEPARATOR, [ dirname(__DIR__), "asset", '' ]),
'order' => 10
]
],
]
],
],
];