Skip to content

Commit

Permalink
Merge pull request #211 from collective/babel-runtime
Browse files Browse the repository at this point in the history
Add babel runtime
  • Loading branch information
datakurre committed Jul 19, 2019
2 parents 04cf622 + 8b2ae6c commit 3065884
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
9 changes: 8 additions & 1 deletion demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
"author": "Asko Soukka <asko.soukka@iki.fi>",
"babel": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 2
}
],
[
"@babel/preset-react",
{
Expand Down Expand Up @@ -58,6 +64,7 @@
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"prettier": "^1.18.2",
"typography": "^0.16.19",
Expand Down
9 changes: 8 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,13 @@
"main": "index.js",
"babel": {
"presets": [
"@babel/preset-env",
[
"@babel/preset-env",
{
"useBuiltIns": "usage",
"corejs": 2
}
],
[
"@babel/preset-react",
{
Expand Down Expand Up @@ -66,6 +72,7 @@
"@babel/plugin-transform-runtime": "^7.5.0",
"@babel/preset-env": "^7.5.0",
"@babel/preset-react": "^7.0.0",
"@babel/runtime": "^7.0.0",
"babel-core": "7.0.0-bridge.0",
"coveralls": "^3.0.4",
"cross-env": "^5.2.0",
Expand Down

0 comments on commit 3065884

Please sign in to comment.