Use babel-core 7.5+ in new RN Apps
Summary: We are running into some problems with the spread operator. The solution is to ask for a newer minimum babel version. See https://github.com/babel/babel/issues/10179 Note: this doesn't actually change behavior. When creating a new app a new babel version will already be used. This simply ensures that the minimum version fulfills the requirements. Reviewed By: axe-fb Differential Revision: D16181111 fbshipit-source-id: f5207318b3a7bd9f092c0e64a8065d0f713012da
This commit is contained in:
Родитель
0b5aa39671
Коммит
ba03e4e7bb
|
@ -11,8 +11,8 @@
|
|||
"react-native": "1000.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.3.3",
|
||||
"@babel/runtime": "^7.3.1",
|
||||
"@babel/core": "^7.5.0",
|
||||
"@babel/runtime": "^7.5.0",
|
||||
"@react-native-community/eslint-config": "^0.0.3",
|
||||
"babel-jest": "^24.1.0",
|
||||
"jest": "^24.1.0",
|
||||
|
|
Загрузка…
Ссылка в новой задаче