-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
We have a react native project using fireblocks/react-native-ncw-sdk as a dependency. When bundling for web using npx expo start --web , we get the following warning:
Web Bundled 411ms index.js (1 module)
λ WARN Require cycle: node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/index.js -> node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/FireblocksNCWFactory.js -> node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/index.js
Require cycles are allowed, but can result in uninitialized values. Consider refactoring to remove the need for a cycle.
factory (node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/FireblocksNCWFactory.js:21:7)
factory (node_modules/@fireblocks/react-native-ncw-sdk/lib/commonjs/index.js:55:3)
We have not noticed any issues due to this warning as we have been focused on android and ios, but it would be good to resolve if possible.
Metadata
Metadata
Assignees
Labels
No labels