You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I am using tsup to build a react native component. Everything works fine, except Images. While developing I can use images and render them into the Image component.
import logo from '../assets/images/logo.png' when running the library as a standalone but once bundled using tsup and added to another project, the the image no longer loads correctly
I tried with --publicDir to copy all my assets into dist but still is not working.
Hi, I am using tsup to build a react native component. Everything works fine, except Images. While developing I can use images and render them into the Image component.
import logo from '../assets/images/logo.png' when running the library as a standalone but once bundled using tsup and added to another project, the the image no longer loads correctly
I tried with --publicDir to copy all my assets into dist but still is not working.
Any advice? Thanks
cc @egoist
Upvote & Fund
The text was updated successfully, but these errors were encountered: