Is there a way to setup a Bun script to use tsconfig.bun.json
instead of tsconfig.json
?
#5725
Answered
by
RiskyMH
nelson6e65
asked this question in
Q&A
-
I have to have 3 different
#!/usr/bin/env bun
// ... For example, I don't want to use the main sources aliases in my scripts files. |
Beta Was this translation helpful? Give feedback.
Answered by
RiskyMH
Jul 16, 2025
Replies: 2 comments 1 reply
-
Bun will just use |
Beta Was this translation helpful? Give feedback.
0 replies
-
I would really need this too! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the
--tsconfig-override
flag that I fixed in #21045. If you don't have access to the raw cli, then you can add it to the BUN_OPTIONS environment variable.