Skip to content

Commit

Permalink
fix: hermes option read from wrong param (#619)
Browse files Browse the repository at this point in the history
  • Loading branch information
tido64 authored and zamotany committed Aug 2, 2019
1 parent a9fee2e commit 7996f15
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/haul-babel-preset-react-native/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ function isTSXSource(fileName: string) {
return !!fileName && fileName.endsWith('.tsx');
}

export default function getHaulBabelPreset(options: { hermes: boolean }) {
export default function getHaulBabelPreset(
api: any,
options: { hermes: boolean }
) {
return {
compact: false,
overrides: [
Expand Down

0 comments on commit 7996f15

Please sign in to comment.