Skip to content

Commit

Permalink
fix automatic deployment detection by not forcing node preset
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansolid committed Jul 9, 2024
1 parent f5ba091 commit bdd5a11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/five-wasps-love.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vinxi": patch
---

fix automatic deployment detection by not forcing node preset
2 changes: 1 addition & 1 deletion packages/vinxi/lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export async function createBuild(app, buildConfig) {
process.env.NITRO_PRESET ??
process.env.NITRO_TARGET ??
app.config.server.preset ??
(process.versions.bun !== undefined ? "bun" : "node-server"),
(process.versions.bun !== undefined ? "bun" : undefined),
alias: {
/**
* These
Expand Down

0 comments on commit bdd5a11

Please sign in to comment.