Skip to content
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

(remove): redundant/confusing tsconfig target in templates #466

Merged
merged 1 commit into from
Jan 29, 2020

Conversation

agilgur5
Copy link
Collaborator

@agilgur5 agilgur5 commented Jan 29, 2020

  • tsconfig target is always overwritten to ESNext by TSDX, and then
    the rest of the transpilation is done by @babel/preset-env

    • having templates with target set gives the false impression that
      target can be freely configured
  • also remove from tests as it's unused there

See #415 for more about why the target is overwritten by TSDX

@agilgur5
Copy link
Collaborator Author

agilgur5 commented Jan 29, 2020

Oh, probably should remove from the tests' tsconfig as well EDIT: done

- tsconfig target is always overwritten to ESNext by TSDX, and then
  the rest of the transpilation is done by @babel/preset-env
  - having templates with target set gives the false impression that
    target can be freely configured

- also remove from tests as it's unused there
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants