forked from matrix/element-web
Switch back to legacy decorators
For https://github.com/matrix-org/matrix-react-sdk/pull/3961
This commit is contained in:
parent
daf6aaaf30
commit
d3d6e4ae77
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue