-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
Custom image Loader (react-native-web-image-loader) produces errors in Production build #39812
Comments
I have a similar issue when trying to load svg images using
|
Resolved in latest versions |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Verify canary release
Provide environment information
What browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
No response
Describe the Bug
In our application we use the
disableStaticImages
option and use react-native-web-image-loader.After upgrading from nextjs 12.1.6 to nextjs 12.2.5, production build produces this errors :
After doing more research I found the error appeared between v12.1.7-canary.33 and v12.1.7-canary.35.
I suspect the error comes from the changes in this commit : 2addf46
and the underlying commit in vercel/nft : vercel/nft@46631cb.
by applying this patch in my project the problem is gone :
Expected Behavior
Should build without error
Link to reproduction
https://github.com/fdecampredon/next-react-native-web-image-loader-bug
To Reproduce
The text was updated successfully, but these errors were encountered: