babel-preset-expo 9.2.0 → 9.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ This preset extends the default React Native preset (`metro-react-native-babel-p
|
|
|
4
4
|
|
|
5
5
|
You can use this preset in any React Native project as a drop-in replacement for `metro-react-native-babel-preset`. If your project isn't using native font loading or web support then this preset will only add support for decorators with `@babel/plugin-proposal-decorators` - this is mostly used for supporting legacy community libraries.
|
|
6
6
|
|
|
7
|
-
If you start your **web** project with `@expo/webpack-config` or `expo start
|
|
7
|
+
If you start your **web** project with `@expo/webpack-config` or `npx expo start` and your project doesn't contain a `babel.config.js` or a `.babelrc` then it will default to using `babel-preset-expo` for loading.
|
|
8
8
|
|
|
9
9
|
If you have problems with the code in this repository, please file issues & bug reports
|
|
10
10
|
at https://github.com/expo/expo. Thanks!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "babel-preset-expo",
|
|
3
|
-
"version": "9.2.
|
|
3
|
+
"version": "9.2.2",
|
|
4
4
|
"description": "The Babel preset for Expo projects",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"files": [
|
|
@@ -46,15 +46,16 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/plugin-proposal-decorators": "^7.12.9",
|
|
49
|
+
"@babel/plugin-proposal-object-rest-spread": "^7.12.13",
|
|
49
50
|
"@babel/plugin-transform-react-jsx": "^7.12.17",
|
|
50
51
|
"@babel/preset-env": "^7.12.9",
|
|
51
52
|
"babel-plugin-module-resolver": "^4.1.0",
|
|
52
53
|
"babel-plugin-react-native-web": "~0.18.2",
|
|
53
|
-
"metro-react-native-babel-preset": "
|
|
54
|
+
"metro-react-native-babel-preset": "0.72.3"
|
|
54
55
|
},
|
|
55
56
|
"devDependencies": {
|
|
56
57
|
"@babel/core": "^7.12.9",
|
|
57
58
|
"jest": "^26.6.3"
|
|
58
59
|
},
|
|
59
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "7bd5b06647741fc25c84c77136819ab884c8479b"
|
|
60
61
|
}
|