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
Metro is the bundler for React Native. It has experimental support for the exports field in package.json, however I have had issues getting it to work with some of Evolu's packages. Things that need to change:
exports
browser
default
metro.config.js
config.resolver.unstable_enablePackageExports = true;
This should fix errors users get where Metro cannot find Evolu's modules.
The text was updated successfully, but these errors were encountered:
I will review it after the new sync and update docs. Thank you!
Sorry, something went wrong.
No branches or pull requests
Metro is the bundler for React Native. It has experimental support for the
exports
field in package.json, however I have had issues getting it to work with some of Evolu's packages. Things that need to change:browser
need to bedefault
instead. Node recommends usingdefault
instead ofbrowser
here: https://nodejs.org/docs/latest-v19.x/api/packages.html#conditional-exportsdefault
conditional export with the same value asbrowser
.exports
support in Metro:metro.config.js
file.config.resolver.unstable_enablePackageExports = true;
to theirmetro.config.js
file.This should fix errors users get where Metro cannot find Evolu's modules.
The text was updated successfully, but these errors were encountered: