Skip to content

Commit 7996f15

Browse files
tido64zamotany
authored andcommitted
fix: hermes option read from wrong param (#619)
1 parent a9fee2e commit 7996f15

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

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

packages/haul-babel-preset-react-native/src/index.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,10 @@ function isTSXSource(fileName: string) {
2828
return !!fileName && fileName.endsWith('.tsx');
2929
}
3030

31-
export default function getHaulBabelPreset(options: { hermes: boolean }) {
31+
export default function getHaulBabelPreset(
32+
api: any,
33+
options: { hermes: boolean }
34+
) {
3235
return {
3336
compact: false,
3437
overrides: [

0 commit comments

Comments
 (0)