Skip to content

Commit

Permalink
Transform async to promise instead of generators in example
Browse files Browse the repository at this point in the history
  • Loading branch information
thymikee committed Jan 31, 2017
1 parent f4e7dea commit dfa62df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/async/.babelrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"presets": ["es2015"],
"plugins": ["transform-async-to-generator"]
"plugins": ["async-to-promises"]
}
2 changes: 1 addition & 1 deletion examples/async/package.json
Original file line number Diff line number Diff line change
@@ -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": "*"
},
Expand Down

0 comments on commit dfa62df

Please sign in to comment.