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" + } + ] + ] }