Skip to content

Commit

Permalink
feat: mark react-native-linear-gradient as flow-typed module (#784)
Browse files Browse the repository at this point in the history
* linear gradient

* rm

* feat(module): add react native linear gradient

* add changeset

* chore: update changeset
  • Loading branch information
zmzlois authored Nov 5, 2024
1 parent d1afd10 commit f8af03c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-frogs-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@callstack/repack': minor
---

add `react-native-linear-gradient` to flow type module loading rule support
1 change: 1 addition & 0 deletions packages/repack/src/rules/flowTypedModulesLoadingRules.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export const FLOW_TYPED_MODULES_LOADING_RULES: RuleSetRule = {
'react-native-performance',
'react-native-vector-icons',
'@react-native-community/datetimepicker',
'react-native-linear-gradient',
]),
use: {
loader: '@callstack/repack/flow-loader',
Expand Down

0 comments on commit f8af03c

Please sign in to comment.