Skip to content

Commit 8cf30bc

Browse files
authored
Change default transform profile to 'hermes-stable'
Issue: #57174
1 parent dd5c383 commit 8cf30bc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • packages/react-native-babel-preset/src/configs

packages/react-native-babel-preset/src/configs/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function isFirstParty(fileName) {
4545
// getPreset, which is otherwise cached based on `options`. This must be pure,
4646
// and should be cheap.
4747
function getTransformProfile(caller) {
48-
return caller?.unstable_transformProfile ?? 'default';
48+
return caller?.unstable_transformProfile ?? 'hermes-stable';
4949
}
5050

5151
// use `this.foo = bar` instead of `this.defineProperty('foo', ...)`

0 commit comments

Comments
 (0)