We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have an optional dependency defined in package.json:
package.json
"optionalDependencies": { "optional-react-native-module": "1.0.0" }
Despite it being installed into /node_modules, react-native config does not output this dependency configuration.
/node_modules
react-native config
When defining the optional dependency in package.json's dependencies block, it does get autolinked.
dependencies
Is there a way to autolink optional dependencies?
A potential workaround is to specify the optional dependency in dependencies as well.
The text was updated successfully, but these errors were encountered:
You need to add this lib as your project dependency as well, no other way at the moment. Here's an issue tracking how we can make it better: #870
Sorry, something went wrong.
No branches or pull requests
I have an optional dependency defined in
package.json
:Despite it being installed into
/node_modules
,react-native config
does not output this dependency configuration.When defining the optional dependency in
package.json
'sdependencies
block, it does get autolinked.Is there a way to autolink optional dependencies?
A potential workaround is to specify the optional dependency in
dependencies
as well.The text was updated successfully, but these errors were encountered: