diff --git a/babel.config.js b/babel.config.js index c90815dda..652dd7f97 100644 --- a/babel.config.js +++ b/babel.config.js @@ -42,6 +42,7 @@ module.exports = function (api) { '@babel/plugin-proposal-class-properties', { spec: true, + loose: true, }, ], [ @@ -50,6 +51,18 @@ module.exports = function (api) { useBuiltIns: true, }, ], + [ + '@babel/plugin-proposal-private-property-in-object', + { + loose: true, + } + ], + [ + '@babel/plugin-proposal-private-methods', + { + loose: true, + } + ], [ '@babel/plugin-transform-react-jsx', {