-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
should follow tsconfig compilerOptions target when didn't pass target #277
Comments
I understand why this would be useful. However, different directories can take their settings from different tsconfig.json files with esbuild. In my opinion it would be confusing and error-prone for the language target (which really only makes sense as a global setting) to vary per-directory, especially by default. So I think the current esbuild behavior of having to specify a global language target is actually less error-prone and more correct. |
The recently merged behavior can be an issue when there are e.g. I'm bundling some code that uses Ideally I would like to totally ignore |
this 2 should get same output
expected output
The text was updated successfully, but these errors were encountered: