diff --git a/composer.json b/composer.json index 1ad20e8..7a92e96 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "extra": { "lean": { "autoload": { - "definition": [ + "definitions": [ "meta/definitions.php" ] } diff --git a/meta/definitions.php b/meta/definitions.php index 66e9d6b..8cf5c78 100644 --- a/meta/definitions.php +++ b/meta/definitions.php @@ -15,11 +15,11 @@ return [ return new Asset\FileFetcher($c->get(Lean\Lean::class)->getAssetPaths()); }, - LanguageRegistration::class => create(\Lean\PiceaDefaultRegistration::class)->constructor(get('picea.extensions'), [], [], get(Ui::class), get(Asset\Asset::class)), - Action\Install::class => autowire(Action\Install::class)->constructor(get(Action\InstallActionInterface::class), []), Action\Symlink::class => autowire(Action\Symlink::class), Action\InstallActionInterface::class => autowire(Action\Symlink::class), + + LanguageRegistration::class => create(\Lean\PiceaDefaultRegistration::class)->constructor(get('picea.extensions'), [], [], get(Ui::class), get(Asset\Asset::class)), ]; \ No newline at end of file diff --git a/src/Asset.php b/src/Asset.php index 4ac43f1..041857a 100644 --- a/src/Asset.php +++ b/src/Asset.php @@ -17,6 +17,7 @@ class Asset { public function registerExtension(Compiler $compiler) : self { + die("..."); $compiler->registerExtension(new Extension\ImportmapExtension()); return $this;