Skip to content

Commit

Permalink
Use async-generator-functions transform in Babel
Browse files Browse the repository at this point in the history
  • Loading branch information
stasm committed Jan 9, 2018
1 parent eb2a70e commit c2231fe
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"plugins": [
"babel-plugin-transform-es2015-modules-commonjs"
"babel-plugin-transform-es2015-modules-commonjs",
"babel-plugin-transform-async-generator-functions"
]
}
1 change: 1 addition & 0 deletions compat_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export default {
'plugins': [
// Cf. https://github.com/rollup/rollup-plugin-babel#helpers
'external-helpers',
'transform-async-generator-functions',
['transform-builtin-extend', {
globals: ['Error']
}]
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"devDependencies": {
"acorn-async-iteration": "^0.1.0",
"babel-plugin-external-helpers": "^6.22.0",
"babel-plugin-transform-async-generator-functions": "^6.24.1",
"babel-plugin-transform-builtin-extend": "^1.1.2",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.0",
"babel-preset-env": "^1.6.1",
Expand Down

0 comments on commit c2231fe

Please sign in to comment.