import.meta.main
is false
when using bun .
instead of bun index.ts
#10831
Labels
bug
Something isn't working
What version of Bun is running?
1.1.7+b0b7db5c0
What platform is your computer?
Darwin 23.4.0 arm64 arm
What steps can reproduce the bug?
index.ts
:What is the expected behavior?
bun .
printstrue
bun index.ts
printstrue
What do you see instead?
bun .
printsfalse
bun index.ts
printstrue
Additional information
No response
The text was updated successfully, but these errors were encountered: