Browse Source

Switch back to legacy decorators

For https://github.com/matrix-org/matrix-react-sdk/pull/3961
pull/12110/head
Travis Ralston 2 years ago
parent
commit
d3d6e4ae77
  1. 2
      babel.config.js

2
babel.config.js

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

Loading…
Cancel
Save