We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35298ac commit ae4e2b5Copy full SHA for ae4e2b5
packages/cli-v3/src/config.ts
@@ -191,7 +191,8 @@ async function resolveConfig(
191
["run_engine_v2" as const].concat(config.compatibilityFlags ?? [])
192
);
193
194
- const defaultRuntime: BuildRuntime = features.run_engine_v2 ? "node" : DEFAULT_RUNTIME;
+ const detectedRuntime: BuildRuntime = typeof process.versions.bun === "string" ? "bun" : "node";
195
+ const defaultRuntime: BuildRuntime = config.runtime ?? detectedRuntime;
196
197
const mergedConfig = defu(
198
{
0 commit comments