Skip to content

Commit

Permalink
[5.x] Add bun support (#1544)
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpak1300 authored Oct 29, 2024
1 parent f19b39e commit 5a8cdae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Console/InstallCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,8 @@ protected function installLivewireStack()
$this->runCommands(['pnpm install', 'pnpm run build']);
} elseif (file_exists(base_path('yarn.lock'))) {
$this->runCommands(['yarn install', 'yarn run build']);
} elseif (file_exists(base_path('bun.lockb'))) {
$this->runCommands(['bun install', 'bun run build']);
} else {
$this->runCommands(['npm install', 'npm run build']);
}
Expand Down

0 comments on commit 5a8cdae

Please sign in to comment.