Skip to content

Commit

Permalink
[5.x] Add bun support for inertia
Browse files Browse the repository at this point in the history
  • Loading branch information
pushpak1300 committed Oct 30, 2024
1 parent 5a8cdae commit 2c44c8e
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 @@ -479,6 +479,8 @@ protected function installInertiaStack()
$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 2c44c8e

Please sign in to comment.