Skip to content

Commit d51ec69

Browse files
authored
[5.x] Add bun support for inertia (#1545)
1 parent 5a8cdae commit d51ec69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Console/InstallCommand.php

+2
Original file line numberDiff line numberDiff line change
@@ -479,6 +479,8 @@ protected function installInertiaStack()
479479
$this->runCommands(['pnpm install', 'pnpm run build']);
480480
} elseif (file_exists(base_path('yarn.lock'))) {
481481
$this->runCommands(['yarn install', 'yarn run build']);
482+
} elseif (file_exists(base_path('bun.lockb'))) {
483+
$this->runCommands(['bun install', 'bun run build']);
482484
} else {
483485
$this->runCommands(['npm install', 'npm run build']);
484486
}

0 commit comments

Comments
 (0)