Skip to content

Commit

Permalink
fix: babel 7 compatibility. #1043
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed Sep 13, 2018
1 parent d6853b7 commit acad937
Show file tree
Hide file tree
Showing 7 changed files with 1,077 additions and 978 deletions.
9 changes: 7 additions & 2 deletions examples/all-possible-containers/.babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
"presets": [
"@babel/preset-flow",
"@babel/preset-react",
["@babel/preset-env", { "modules": false }]
[
"@babel/preset-env",
{
"modules": false
}
]
],
"plugins": [
"@babel/plugin-proposal-class-properties",
Expand All @@ -29,4 +34,4 @@
]
}
}
}
}
20 changes: 10 additions & 10 deletions examples/all-possible-containers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@
"react-dom": "16.3.2"
},
"devDependencies": {
"@babel/core": "7.0.0-beta.46",
"@babel/plugin-proposal-class-properties": "7.0.0-beta.46",
"@babel/plugin-proposal-object-rest-spread": "7.0.0-beta.46",
"@babel/plugin-syntax-dynamic-import": "7.0.0-beta.46",
"@babel/plugin-transform-react-constant-elements": "7.0.0-beta.46",
"@babel/plugin-transform-react-inline-elements": "7.0.0-beta.46",
"@babel/preset-env": "7.0.0-beta.46",
"@babel/preset-flow": "7.0.0-beta.46",
"@babel/preset-react": "7.0.0-beta.46",
"@babel/core": "^7.0.0",
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
"@babel/plugin-syntax-dynamic-import": "^7.0.0",
"@babel/plugin-transform-react-constant-elements": "^7.0.0",
"@babel/plugin-transform-react-inline-elements": "^7.0.0",
"@babel/preset-env": "^7.0.0",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"babel-core": "^7.0.0-bridge.0",
"babel-loader": "8.0.0-beta.2",
"babel-loader": "8.0.0",
"babel-plugin-transform-react-pure-class-to-function": "1.0.1",
"babel-plugin-transform-react-remove-prop-types": "0.4.13",
"cross-env": "5.1.4",
Expand Down
Loading

0 comments on commit acad937

Please sign in to comment.