Skip to content

Commit eb4772a

Browse files
committed
update babel
1 parent 5977f84 commit eb4772a

File tree

5 files changed

+5
-1
lines changed

5 files changed

+5
-1
lines changed

example/babel.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = function (api) {
44
presets: ["babel-preset-expo"],
55
plugins: [
66
"@babel/plugin-transform-export-namespace-from",
7+
"@babel/preset-flow",
78
"react-native-reanimated/plugin",
89
],
910
};

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@babel/cli": "^7.25.9",
4444
"@babel/core": "^7.26.0",
4545
"@babel/preset-env": "^7.26.0",
46+
"@babel/preset-flow": "^7.25.9",
4647
"@babel/preset-typescript": "^7.26.0",
4748
"@eslint/compat": "^1.2.3",
4849
"@testing-library/jest-native": "^5.4.3",

packages/core/babel.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = (api) => {
44
presets: ["@react-native/babel-preset"],
55
plugins: [
66
"@babel/plugin-transform-export-namespace-from",
7+
"@babel/preset-flow",
78
"react-native-reanimated/plugin",
89
],
910
};

packages/ui/babel.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ module.exports = (api) => {
44
presets: ["@react-native/babel-preset"],
55
plugins: [
66
"@babel/plugin-transform-export-namespace-from",
7+
"@babel/preset-flow",
78
"react-native-reanimated/plugin",
89
],
910
};

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@
10341034
core-js-compat "^3.38.1"
10351035
semver "^6.3.1"
10361036

1037-
"@babel/preset-flow@^7.13.13":
1037+
"@babel/preset-flow@^7.13.13", "@babel/preset-flow@^7.25.9":
10381038
version "7.25.9"
10391039
resolved "https://registry.yarnpkg.com/@babel/preset-flow/-/preset-flow-7.25.9.tgz#ef8b5e7e3f24a42b3711e77fb14919b87dffed0a"
10401040
integrity sha512-EASHsAhE+SSlEzJ4bzfusnXSHiU+JfAYzj+jbw2vgQKgq5HrUr8qs+vgtiEL5dOH6sEweI+PNt2D7AqrDSHyqQ==

0 commit comments

Comments
 (0)