Skip to content

Commit 4117bd5

Browse files
committed
GH actions CI test fix: babel issue fix
1 parent f97b0c5 commit 4117bd5

File tree

3 files changed

+365
-75
lines changed

3 files changed

+365
-75
lines changed

babel.config.js

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,16 @@
11
module.exports = {
2-
presets: ['module:react-native-builder-bob/babel-preset'],
2+
presets: [
3+
'module:react-native-builder-bob/babel-preset',
4+
['@babel/preset-typescript', { allowNamespaces: true, allowDeclareFields: true }],
5+
'@babel/preset-flow',
6+
],
7+
env: {
8+
test: {
9+
presets: [
10+
['@react-native/babel-preset'],
11+
['@babel/preset-typescript', { allowNamespaces: true, allowDeclareFields: true }],
12+
'@babel/preset-flow',
13+
],
14+
},
15+
},
316
};

0 commit comments

Comments
 (0)