Compare commits

...
Sign in to create a new pull request.

7 commits

Author SHA1 Message Date
Michael Telatynski
d5e7cb2bc7
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/react18/context 2023-07-17 12:55:36 +01:00
Michael Telatynski
7bb4d91e5c
Merge branch 'develop' of https://github.com/vector-im/element-web into t3chguy/react18/context 2023-05-09 14:09:00 +01:00
Michael Telatynski
c4e4a8357d
Iterate 2023-05-09 14:08:30 +01:00
Michael Telatynski
3b1b30dd4f
🤷 2023-03-13 12:34:45 +00:00
Michael Telatynski
1ff5dc7af5
Stash work 2023-03-08 09:19:15 +00:00
Michael Telatynski
4451ff1d6c
Iterate 2023-03-07 18:52:50 +00:00
Michael Telatynski
a550341663
Babel enable allowDeclareFields setting 2023-03-07 18:04:18 +00:00
2 changed files with 6 additions and 3 deletions

View file

@ -10,18 +10,20 @@ module.exports = {
"last 2 Safari versions", "last 2 Safari versions",
"last 2 Edge versions", "last 2 Edge versions",
], ],
include: [
"@babel/plugin-proposal-nullish-coalescing-operator",
"@babel/plugin-proposal-class-properties",
],
}, },
], ],
"@babel/preset-typescript", ["@babel/preset-typescript", { allowDeclareFields: true }],
"@babel/preset-react", "@babel/preset-react",
], ],
plugins: [ plugins: [
"@babel/plugin-proposal-export-default-from", "@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-numeric-separator", "@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-proposal-object-rest-spread", "@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-optional-chaining", "@babel/plugin-proposal-optional-chaining",
"@babel/plugin-proposal-nullish-coalescing-operator",
// transform logical assignment (??=, ||=, &&=). preset-env doesn't // transform logical assignment (??=, ||=, &&=). preset-env doesn't
// normally bother with these (presumably because all the target // normally bother with these (presumably because all the target

View file

@ -1,5 +1,6 @@
{ {
"compilerOptions": { "compilerOptions": {
"useDefineForClassFields": true,
"experimentalDecorators": false, "experimentalDecorators": false,
"emitDecoratorMetadata": false, "emitDecoratorMetadata": false,
"resolveJsonModule": true, "resolveJsonModule": true,