From 06ba732bb8bd3496e0d5220b7eef577de667afa3 Mon Sep 17 00:00:00 2001 From: Navid EMAD Date: Wed, 19 May 2021 21:41:44 +0200 Subject: [PATCH] Fix babel warning about private-methods (#814) --- babel.config.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/babel.config.js b/babel.config.js index 9a44176a9..8cb3c7d54 100644 --- a/babel.config.js +++ b/babel.config.js @@ -62,6 +62,12 @@ module.exports = function (api) { useBuiltIns: true, }, ], + [ + "@babel/plugin-proposal-private-methods", + { + loose: true, + }, + ], [ "@babel/plugin-transform-runtime", {