diff --git a/packages/metro-bundler/babelRegisterOnly.js b/packages/metro-bundler/babelRegisterOnly.js index a4f96afd..56fa8c32 100644 --- a/packages/metro-bundler/babelRegisterOnly.js +++ b/packages/metro-bundler/babelRegisterOnly.js @@ -26,6 +26,7 @@ function config(onlyList) { 'transform-flow-strip-types', 'syntax-trailing-function-commas', 'transform-object-rest-spread', + 'transform-async-to-generator', ], only: _only, retainLines: true,