-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
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
0.72.0 does not work with axios #38025
Comments
|
axios will fail if you enable |
Thanks @johnf that's a good spot. If you find yourself in this pickle, we currently don't support per package condition name resolution. We can only do this globally, which could end up creating more problems for you:
Options going forward:
|
Fixed by resolving this way config.resolver.resolveRequest = (context, moduleName, platform) => {
if (moduleName === 'axios') {
return context.resolveRequest(context, moduleName, platform);
} |
Description'
version 0.72.0 does not work with axios. this was working fine in 0.71.11
React Native Version
0.72.0
Output of
npx react-native info
Steps to reproduce
Snack, code example, screenshot, or link to a repository
n/a
The text was updated successfully, but these errors were encountered: