Switch back to legacy decorators
For https://github.com/matrix-org/matrix-react-sdk/pull/3961
This commit is contained in:
@@ -11,7 +11,7 @@ module.exports = {
|
|||||||
"@babel/preset-react"
|
"@babel/preset-react"
|
||||||
],
|
],
|
||||||
"plugins": [
|
"plugins": [
|
||||||
["@babel/plugin-proposal-decorators", {decoratorsBeforeExport: true}],
|
["@babel/plugin-proposal-decorators", {legacy: true}],
|
||||||
"@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-class-properties",
|
||||||
|
|||||||
Reference in New Issue
Block a user