Skip to content

Commit

Permalink
update: BroadcastingInstallCommand.php (#50525)
Browse files Browse the repository at this point in the history
- add support for bun
  • Loading branch information
HDVinnie authored Mar 13, 2024
1 parent 4635ae0 commit 6e1e785
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ protected function installNodeDependencies()
'yarn add --dev laravel-echo pusher-js',
'yarn run build',
];
} elseif (file_exists(base_path('bun.lockb'))) {
$commands = [
'bun add --dev laravel-echo pusher-js',
'bun run build',
];
} else {
$commands = [
'npm install --save-dev laravel-echo pusher-js',
Expand Down

0 comments on commit 6e1e785

Please sign in to comment.