Skip to content

Commit

Permalink
Register optimize commands (#253)
Browse files Browse the repository at this point in the history
* Register optimize commands

* No trailing comma in 7.4

* don't use named arguments
  • Loading branch information
erikgaal authored Oct 17, 2024
1 parent c780069 commit 75a54a3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/BladeIconsServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,14 @@ private function bootCommands(): void
Console\CacheCommand::class,
Console\ClearCommand::class,
]);

if (method_exists($this, 'optimizes')) {
$this->optimizes(
'icons:cache',
'icons:clear',
'blade-icons'
);
}
}
}

Expand Down

0 comments on commit 75a54a3

Please sign in to comment.