Skip to content

Commit

Permalink
Merge pull request #325 from ryansolid/fix-deployment-autodetection
Browse files Browse the repository at this point in the history
fix automatic deployment detection by not forcing node preset
  • Loading branch information
ryansolid authored Jul 9, 2024
2 parents f5ba091 + bdd5a11 commit d197baa
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 d197baa

Please sign in to comment.