Skip to content

Commit

Permalink
fix: Add polyfill
Browse files Browse the repository at this point in the history
Fixes #154.
  • Loading branch information
zimme committed Dec 26, 2017
1 parent 5bd3684 commit 38a21da
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,15 @@
}
]
],
"plugins": ["transform-class-properties", "transform-object-rest-spread"]
"plugins": [
"transform-class-properties",
"transform-object-rest-spread",
[
"transform-runtime",
{
"polyfill": true,
"regenerator": true
}
]
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"babel-jest": "^22.0.3",
"babel-plugin-transform-class-properties": "6.24.1",
"babel-plugin-transform-object-rest-spread": "6.26.0",
"babel-plugin-transform-runtime": "^6.23.0",
"babel-polyfill": "^6.26.0",
"babel-preset-env": "^1.6.0",
"babel-register": "^6.26.0",
Expand Down

0 comments on commit 38a21da

Please sign in to comment.