From dfa62df5e70d60b18e105dccda71c651d335b451 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Pierzcha=C5=82a?= Date: Tue, 31 Jan 2017 23:12:48 +0100 Subject: [PATCH] Transform async to promise instead of generators in example --- examples/async/.babelrc | 2 +- examples/async/package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/async/.babelrc b/examples/async/.babelrc index 00baf60065c3..0603968ddfe4 100644 --- a/examples/async/.babelrc +++ b/examples/async/.babelrc @@ -1,4 +1,4 @@ { "presets": ["es2015"], - "plugins": ["transform-async-to-generator"] + "plugins": ["async-to-promises"] } diff --git a/examples/async/package.json b/examples/async/package.json index 24e0a5bd3125..2fdb6fda6b93 100644 --- a/examples/async/package.json +++ b/examples/async/package.json @@ -1,7 +1,7 @@ { "devDependencies": { "babel-jest": "*", - "babel-plugin-transform-async-to-generator": "^6.5.0", + "babel-plugin-async-to-promises": "^1.0.5", "babel-preset-es2015": "*", "jest": "*" },