Skip to content

Commit f568090

Browse files
rafecafacebook-github-bot
authored andcommitted
Upgrade babel-plugin-react-transform to v3.x
Summary: babel-plugin-react-transform@3 includes support for HMR on `React.PureComponent`: gaearon/babel-plugin-react-transform#106 Reviewed By: davidaurelio Differential Revision: D5814322 fbshipit-source-id: 36e83ffa00f9d4ff079665aec1e8341725811a8e
1 parent 39f83c4 commit f568090

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

babel-preset/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "babel-preset-react-native",
3-
"version": "3.0.1",
3+
"version": "4.0.0",
44
"description": "Babel preset for React Native applications",
55
"main": "index.js",
66
"repository": "https://github.com/facebook/react-native/tree/master/babel-preset",
@@ -16,7 +16,7 @@
1616
"homepage": "https://github.com/facebook/react-native/tree/master/babel-preset/README.md",
1717
"dependencies": {
1818
"babel-plugin-check-es2015-constants": "^6.5.0",
19-
"babel-plugin-react-transform": "2.0.2",
19+
"babel-plugin-react-transform": "^3.0.0",
2020
"babel-plugin-syntax-async-functions": "^6.5.0",
2121
"babel-plugin-syntax-class-properties": "^6.5.0",
2222
"babel-plugin-syntax-dynamic-import": "^6.18.0",

0 commit comments

Comments
 (0)