@react-native/babel-preset 0.89.0-rc.0 → 0.90.0-nightly-20261105-25d63d471
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-native/babel-preset",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.90.0-nightly-20261105-25d63d471",
|
|
4
4
|
"description": "Babel preset for React Native applications",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -45,13 +45,11 @@
|
|
|
45
45
|
"@babel/plugin-transform-private-property-in-object": "^7.24.7",
|
|
46
46
|
"@babel/plugin-transform-react-display-name": "^7.24.7",
|
|
47
47
|
"@babel/plugin-transform-react-jsx": "^7.25.2",
|
|
48
|
-
"@babel/plugin-transform-react-jsx-self": "^7.24.7",
|
|
49
|
-
"@babel/plugin-transform-react-jsx-source": "^7.24.7",
|
|
50
48
|
"@babel/plugin-transform-runtime": "^7.24.7",
|
|
51
49
|
"@babel/plugin-transform-typescript": "^7.25.2",
|
|
52
50
|
"@babel/plugin-transform-unicode-property-regex": "^7.25.9",
|
|
53
51
|
"@babel/plugin-transform-unicode-regex": "^7.24.7",
|
|
54
|
-
"@react-native/babel-plugin-codegen": "0.
|
|
52
|
+
"@react-native/babel-plugin-codegen": "0.90.0-nightly-20261105-25d63d471",
|
|
55
53
|
"flow-parser": "0.336.0",
|
|
56
54
|
"babel-plugin-transform-flow-enums": "^0.0.2",
|
|
57
55
|
"react-refresh": "^0.14.0"
|
package/src/configs/main.js
CHANGED
|
@@ -230,11 +230,6 @@ const getPreset = (src, options, babel) => {
|
|
|
230
230
|
firstPartyPlugins.push([require('../plugin-warn-on-deep-imports.js')]);
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
if (dev && !options.useTransformReactJSXExperimental) {
|
|
234
|
-
extraPlugins.push([require('@babel/plugin-transform-react-jsx-source')]);
|
|
235
|
-
extraPlugins.push([require('@babel/plugin-transform-react-jsx-self')]);
|
|
236
|
-
}
|
|
237
|
-
|
|
238
233
|
if (enableBabelRuntime !== false) {
|
|
239
234
|
// A string value pins a specific runtime version to optimize output.
|
|
240
235
|
const isVersion = typeof enableBabelRuntime === 'string';
|