Skip to content

Conversation

TrevorBurnham
Copy link
Contributor

All targeted browsers support ES2021 syntax. This change provides an immediate bundle size reduction, with the potential for further gains if code is rewritten to take advantage of optional chaining and nullish coalescing.

Review checklist

The following items are to be evaluated by the author(s) and the reviewer(s).

Correctness

  • Changes include appropriate documentation updates.
  • Changes are backward-compatible if not indicated, see CONTRIBUTING.md.
  • Changes do not include unsupported browser features, see CONTRIBUTING.md.
  • Changes were manually tested for accessibility, see accessibility guidelines.

Security

Testing

  • Changes are covered with new/existing unit tests?
  • Changes are covered with new/existing integration tests?

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@TrevorBurnham TrevorBurnham requested a review from a team as a code owner August 26, 2025 19:40
@TrevorBurnham TrevorBurnham requested review from patrixd and removed request for a team August 26, 2025 19:40
Copy link
Member

@patrixd patrixd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lint is failing. Would you please use an allowed type in the commit message and title of the PR?

This PR's title does not follow the convention "type: subject". Allowed types are: chore, feat, fix, refactor, test, revert

All targeted browsers support ES2021 syntax. This change provides an
immediate bundle size reduction, with the potential for further gains if
code is rewritten to take advantage of optional chaining and nullish
coalescing.

* Optional chaining:
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Optional_chaining#browser_compatibility
* Nullish coalescing:
  https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Nullish_coalescing#browser_compatibility
@TrevorBurnham TrevorBurnham changed the title perf: Update tsconfig target to ES2021 chore: Update tsconfig target to ES2021 Sep 2, 2025
@TrevorBurnham
Copy link
Contributor Author

@patrixd Done.

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