Switch back to legacy decorators

For https://github.com/matrix-org/matrix-react-sdk/pull/3961
This commit is contained in:
Travis Ralston 2020-01-28 16:46:02 +00:00
parent daf6aaaf30
commit d3d6e4ae77

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",