From f5a187d9ffb311b9442c66fc90f9bdfefce28b3c Mon Sep 17 00:00:00 2001 From: Kiran Kumar Date: Wed, 11 Nov 2020 17:13:04 +0530 Subject: [PATCH] Update .babelrc generator plugin --- .babelrc | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 7b5ba33..80a399e 100644 --- a/.babelrc +++ b/.babelrc @@ -39,5 +39,14 @@ "@babel/preset-react" ] } - } + }, + "plugins": [ + [ + "@babel/plugin-transform-async-to-generator", + { + "module": "bluebird", + "method": "coroutine" + } + ] + ] }