- WIP on definition autoload form composer
This commit is contained in:
parent
20570dd0b8
commit
0c5539f066
@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "assets-package/flexboxgrid",
|
||||
"description": "Flexbox Grid package made originally by kristoferjoseph",
|
||||
"type": "library",
|
||||
"type": "asset",
|
||||
"license": "MIT",
|
||||
"authors": [
|
||||
{
|
||||
@ -10,5 +10,12 @@
|
||||
}
|
||||
],
|
||||
"require": {},
|
||||
"autoload": {}
|
||||
"autoload": {},
|
||||
"extra" : {
|
||||
"lean" : {
|
||||
"autoload": [
|
||||
"definitions.php"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
20
definitions.php
Normal file
20
definitions.php
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
use function DI\autowire, DI\create, DI\get;
|
||||
|
||||
$path = __DIR__;
|
||||
|
||||
return [
|
||||
'assets:flexbox' => [
|
||||
'picea' => [
|
||||
'asset' => [
|
||||
'source' => [
|
||||
[
|
||||
'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]),
|
||||
'order' => 10
|
||||
]
|
||||
],
|
||||
]
|
||||
],
|
||||
],
|
||||
];
|
Loading…
x
Reference in New Issue
Block a user