Skip to content

Commit

Permalink
add babel-runtime with regenerator inside
Browse files Browse the repository at this point in the history
  • Loading branch information
floatdrop committed Nov 1, 2015
1 parent 6a9cd6a commit b82907b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lib/babel.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ var path = process.argv[2];

var options = {
blacklist: hasGenerators ? ['regenerator'] : [],
optional: hasGenerators ? ['asyncToGenerator'] : [],
optional: hasGenerators ? ['asyncToGenerator', 'runtime'] : ['runtime'],
plugins: [
createEspowerPlugin(require('babel-core'), {
patterns: require('./enhance-assert').PATTERNS
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"ava-init": "^0.1.0",
"babel-core": "^5.8.23",
"babel-plugin-espower": "^1.0.0",
"babel-runtime": "^5.8.29",
"bluebird": "^3.0.0",
"chalk": "^1.0.0",
"co": "^4.6.0",
Expand Down

0 comments on commit b82907b

Please sign in to comment.