Commit Graph

11 Commits (3bc0439fd218d7c2360454cf09b8df87115d7caa)

Author SHA1 Message Date
Michael Telatynski c1d4199b02
Upgrade target to es2022 (#12852)
* Upgrade target to es2021

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Upgrade to es2022

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix babel config

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix React contexts

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix types

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Fix React state

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-08-01 16:14:28 +00:00
Michael Telatynski d6f35a53f7
Replace deprecated babel proposal plugins (#12635)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-06-19 08:47:47 +00:00
Michael Weimann 526645c791
Apply prettier formatting 2022-12-12 12:24:14 +01:00
Travis Ralston 15b84bd9a6 Step 2: Remove the decorator 2022-03-28 14:02:31 -06:00
J. Ryan Stinnett 2d3163fef5 Remove Flow support
We no longer use Flow, so this removes linting and compiling support. New code
should use TypeScript for static typing.
2021-06-29 12:31:44 +01:00
J. Ryan Stinnett 1c1d239d5b Add Edge to the targets list
Part of https://github.com/vector-im/element-web/issues/9175
2021-03-05 13:19:06 +00:00
Travis Ralston 330b489fd5 Switch back to legacy decorators
Empirically the build is fine with these, but it is unfortunate that we have to reply on deprecated semantics. TypeScript should help fix this.
2020-01-28 16:44:30 +00:00
Travis Ralston 894568bf7a Stop using deprecated stuff 2020-01-28 14:19:06 +00:00
Travis Ralston a4778cc7e3 Remove legacy 2020-01-28 14:18:12 +00:00
Travis Ralston 21405b8f25 Fix skinning and babel tagets 2020-01-28 12:47:38 +00:00
Travis Ralston 5f51432987 Convert babel config to a different babel config
This is needed because of https://github.com/facebook/jest/issues/6229
2020-01-09 17:14:50 -07:00