oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.17k stars 2.77k forks source link

Option to disable TypeScript #615

Open mikearnaldi opened 2 years ago

mikearnaldi commented 2 years ago

What is the problem this feature will solve?

whenever bun reads a tsconfig it doesn't understand a warning is presented, I guess that's ok if the intention is to use bun for compilation but it isn't very nice if I am simply using bun as a JS runtime.

What is the feature you are proposing to solve the problem?

A flag to disable ts processing, something like --disable-ts

What alternatives have you considered?

running bun from a directory without a tsconfig in it and/or creating a dedicated tsconfig for bun

Jarred-Sumner commented 2 years ago

good point