Skip to content

Commit 75a54a3

Browse files
authored
Register optimize commands (#253)
* Register optimize commands * No trailing comma in 7.4 * don't use named arguments
1 parent c780069 commit 75a54a3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/BladeIconsServiceProvider.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,14 @@ private function bootCommands(): void
9090
Console\CacheCommand::class,
9191
Console\ClearCommand::class,
9292
]);
93+
94+
if (method_exists($this, 'optimizes')) {
95+
$this->optimizes(
96+
'icons:cache',
97+
'icons:clear',
98+
'blade-icons'
99+
);
100+
}
93101
}
94102
}
95103

0 commit comments

Comments
 (0)