Skip to content

Commit 386a910

Browse files
committed
fix(loader): check if Bun is used by checking globalThis.Bun
1 parent 109bcbe commit 386a910

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/lib/strategies/env.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ export const CanLoadTypeScriptFiles: boolean =
3838
Reflect.has(globalThis, 'Deno') ||
3939
//
4040
// Bun
41+
Reflect.has(globalThis, 'Bun') ||
4142
'bun' in process.versions ||
4243
//
4344
// ts-node

0 commit comments

Comments
 (0)