diff --git a/composer.json b/composer.json index 23888db..658d49e 100644 --- a/composer.json +++ b/composer.json @@ -13,9 +13,14 @@ "autoload": {}, "extra" : { "lean" : { - "autoload": [ - "definitions.php" - ] + "autoload": { + "definitions" : [ + "definitions.php" + ], + "config": [ + "config.php" + ] + } } } } diff --git a/config.php b/config.php new file mode 100644 index 0000000..cb1319c --- /dev/null +++ b/config.php @@ -0,0 +1,9 @@ + [ + 'autoload' => [ + 'asset.flexbox' + ] + ], +]; diff --git a/definitions.php b/definitions.php index 834bcd0..cf93a9a 100644 --- a/definitions.php +++ b/definitions.php @@ -1,16 +1,12 @@ [ + 'assets.flexbox' => [ 'picea' => [ 'asset' => [ 'source' => [ [ - 'path' => implode(DIRECTORY_SEPARATOR, [ $path, "asset", '' ]), + 'path' => implode(DIRECTORY_SEPARATOR, [ __DIR__, "asset", '' ]), 'order' => 10 ] ],