Skip to content

[chore] Compile packages for es2020 instead of es5 - #11136

Merged
Madeorsk merged 3 commits into
masterfrom
es2020
Jan 27, 2026
Merged

[chore] Compile packages for es2020 instead of es5#11136
Madeorsk merged 3 commits into
masterfrom
es2020

Conversation

@djhi

@djhi djhi commented Jan 26, 2026

Copy link
Copy Markdown
Contributor

Problem

Our packages are transpiled using TS but target ES5 which is quite old. Besides, our dependencies target a more modern JS so we should align. For reference:

  • React Router: 2020
  • React Query: 2020
  • React Hook Form: 2018
  • MUI: 2022

Solution

target ES2020

How To Test

  • make build
  • test the demo

Additional Checks

  • The PR targets master for a bugfix or a documentation fix, or next for a feature

Comment thread tsconfig.json
Comment thread Makefile
@Madeorsk Madeorsk added this to the 5.14.1 milestone Jan 27, 2026
@Madeorsk
Madeorsk merged commit 340d4ab into master Jan 27, 2026
15 checks passed
@Madeorsk
Madeorsk deleted the es2020 branch January 27, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

RFR Ready For Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants