David Goldfarb
David Goldfarb
Yeah, I know. I'm tearing out what little hair I have left trying to figure out what went wrong. Can you possibly point me to any working examples of importing...
I've found some clues here https://create-react-app.dev/docs/adding-images-fonts-and-files/ which I think explain why this is not working. But, I don't know enough about CRA or Webpack to see how to get around...
FWIW, this issue is unrelated to Yalc. I followed up on my guess above, and now have a reproducible small case using just create-react-library and create-react-app. See details at https://stackoverflow.com/questions/67266147/exporting-png-files-from-a-library-to-a-react-javascript-project...