Skip to content

Commit 98f5a4e

Browse files
yungstersfacebook-github-bot
authored andcommitted
Fantom: Enable hermesParser in Metro Transform (#52021)
Summary: Pull Request resolved: #52021 Enables the `hermesParser` option in Fantom tests. Notably, this configures parsing with `hermes-parser` to use `reactRuntimeTarget: '19'`. Changelog: [Internal] Reviewed By: robhogan Differential Revision: D76641340 fbshipit-source-id: a2dcdbe8cab838481dd37c251d03d1e6fffdf346
1 parent 92af975 commit 98f5a4e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

private/react-native-fantom/config/metro.config.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const config /*: InputConfigT */ = {
5555
// We need to wrap the default transformer so we can run it from source
5656
// using babel-register.
5757
babelTransformerPath: path.resolve(__dirname, 'metro-babel-transformer.js'),
58+
hermesParser: true,
5859
},
5960
serializer: {
6061
// Force an empty list so Metro doesn't inject InitializeCore in tests.

0 commit comments

Comments
 (0)