Skip to content

Commit f1102a5

Browse files
huntiesatya164
authored andcommitted
fix: Migrate to babel-plugin-syntax-hermes-parser
1 parent a260218 commit f1102a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native-builder-bob/babel-preset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,9 @@ module.exports = function (api, options, cwd) {
5050
},
5151
],
5252
require.resolve('@babel/preset-typescript'),
53-
require.resolve('@babel/preset-flow'),
5453
],
5554
plugins: [
55+
[require('babel-plugin-syntax-hermes-parser'), {parseLangTypes: 'flow'}],
5656
require.resolve('@babel/plugin-transform-strict-mode'),
5757
[
5858
require.resolve('./lib/babel'),

0 commit comments

Comments
 (0)