From 42412415afb4ba6ef591834e287296c62bf38ab7 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