Skip to content

Commit

Permalink
Fix regeneratorRuntime errors when users with a different babelrc use…
Browse files Browse the repository at this point in the history
… the module

Fixes #5
  • Loading branch information
Dermah committed Jul 20, 2017
1 parent 3056544 commit a415a66
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
],
"plugins":[
"transform-async-to-generator",
"transform-es2015-spread"
"transform-es2015-spread",
["transform-runtime", {
"polyfill": false,
"regenerator": true
}]
]
}
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"babel-loader": "6.2.5",
"babel-plugin-transform-async-to-generator": "^6.24.1",
"babel-plugin-transform-es2015-spread": "^6.22.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "6.13.0",
"babel-preset-latest": "6.14.0",
"babel-preset-react": "^6.23.0",
Expand Down Expand Up @@ -62,6 +63,7 @@
"mainVarName": "immutableReactForm"
},
"dependencies": {
"babel-runtime": "^6.23.0",
"immutable": "^4.0.0-rc.2",
"lodash": "^4.17.4",
"react": "^15.4.2"
Expand Down

0 comments on commit a415a66

Please # to comment.