Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: actually run vite inside bun #492

Merged
merged 1 commit into from
Sep 4, 2024
Merged

fix: actually run vite inside bun #492

merged 1 commit into from
Sep 4, 2024

Conversation

pigoz
Copy link
Contributor

@pigoz pigoz commented Sep 4, 2024

Description 📖

Fixes the runner to actually use Bun and not Node

Background 📜

When using bun, Runner would call into bunx vite, but the vite executable has a node shebang which bunx respects so vite would actually run inside node.

https://bun.sh/docs/cli/bunx#shebangs

The Fix 🔨

This commit adds a --bun flag su that bunx ignores the node shebang.

When using bun, Runner would call into `bunx vite`, but the vite executable
has a node shebang which bunx respects so vite would actually run inside node.

This commit adds a --bun flag su that bunx ignores the node shebang.

https://bun.sh/docs/cli/bunx#shebangs
@ElMassimo ElMassimo merged commit 36d3e96 into ElMassimo:main Sep 4, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants