From abbffb24ac3e8fb19584cf45d310be3290d8dc74 Mon Sep 17 00:00:00 2001 From: Rain_Jiang Date: Mon, 13 Jan 2025 18:00:51 +0800 Subject: [PATCH] fix: add react-native-inappbrowser-reborn in flowTypedModulesLoadingRules.ts --- .changeset/quick-rats-knock.md | 5 +++++ packages/repack/src/rules/flowTypedModulesLoadingRules.ts | 1 + 2 files changed, 6 insertions(+) create mode 100644 .changeset/quick-rats-knock.md diff --git a/.changeset/quick-rats-knock.md b/.changeset/quick-rats-knock.md new file mode 100644 index 000000000..4de1b805c --- /dev/null +++ b/.changeset/quick-rats-knock.md @@ -0,0 +1,5 @@ +--- +"@callstack/repack": patch +--- + +Add 'react-native-inappbrowser-reborn' in flowTypedModulesLoadingRules. diff --git a/packages/repack/src/rules/flowTypedModulesLoadingRules.ts b/packages/repack/src/rules/flowTypedModulesLoadingRules.ts index 6356ae923..ce43f6d1b 100644 --- a/packages/repack/src/rules/flowTypedModulesLoadingRules.ts +++ b/packages/repack/src/rules/flowTypedModulesLoadingRules.ts @@ -20,6 +20,7 @@ export const FLOW_TYPED_MODULES_LOADING_RULES: RuleSetRule = { 'react-native-vector-icons', '@react-native-community/datetimepicker', 'react-native-linear-gradient', + 'react-native-inappbrowser-reborn', ]), use: { loader: '@callstack/repack/flow-loader',