Open kraenhansen opened 1 month ago
We used to resolve these require cycles as part of producing a rollup bundle, but these will now surface as warnings when bundling with Metro.
We could probably revisit the decision to use a internal.ts to control the import order and instead focus on breaking the cycles:
internal.ts
https://github.com/realm/realm-js/blob/1e1e48a0f906d471b4a046168ed8cd628ef2d70f/packages/realm/src/internal.ts#L21
➤ PM Bot commented:
Jira ticket: RJS-2769
We used to resolve these require cycles as part of producing a rollup bundle, but these will now surface as warnings when bundling with Metro.
We could probably revisit the decision to use a
internal.ts
to control the import order and instead focus on breaking the cycles:https://github.com/realm/realm-js/blob/1e1e48a0f906d471b4a046168ed8cd628ef2d70f/packages/realm/src/internal.ts#L21