Switch back to legacy decorators

For https://github.com/matrix-org/matrix-react-sdk/pull/3961
pull/12110/head
Travis Ralston 2020-01-28 16:46:02 +00:00
parent daf6aaaf30
commit d3d6e4ae77
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module.exports = {
"@babel/preset-react"
],
"plugins": [
["@babel/plugin-proposal-decorators", {decoratorsBeforeExport: true}],
["@babel/plugin-proposal-decorators", {legacy: true}],
"@babel/plugin-proposal-export-default-from",
"@babel/plugin-proposal-numeric-separator",
"@babel/plugin-proposal-class-properties",