From 3a6b36337d8d1609c6555c30b059ff4087df0844 Mon Sep 17 00:00:00 2001 From: Aniket-Engg Date: Tue, 17 Jan 2023 18:28:41 +0530 Subject: [PATCH] update babel config --- babel.config.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/babel.config.js b/babel.config.js index e31ff6f5b2..ad32f7a9d0 100644 --- a/babel.config.js +++ b/babel.config.js @@ -6,5 +6,8 @@ module.exports = { "@babel/plugin-proposal-class-properties", "@babel/plugin-proposal-nullish-coalescing-operator", ["@babel/plugin-proposal-private-property-in-object", { "loose": false }], - ["@babel/plugin-proposal-private-methods", { "loose": false }]] + ["@babel/plugin-proposal-private-methods", { "loose": false }], + ["@babel/plugin-transform-runtime", { + "regenerator": true + }]] } \ No newline at end of file