react-simple-icons
react-simple-icons copied to clipboard
"SyntaxError: ambiguous indirect export" when importing any icons or colors
When I try to import any icon or color from react-simple-icons, I get the following error:
Uncaught SyntaxError: ambiguous indirect export: SiApple
(Or whatever I'm trying to import, of course). No stack trace is provided, just the line number in my code where I import the module.
This is a new issue after upgrading from 6.x to 9.x. The indirect export mention leads me to think that this is related to the indirect exports in the index.ts, possibly something to do with the naming being updated between these versions?
I'm using React 18 with Vite 4.0.4. Let me know if there's any other info I can provide.
@nstgeorge help me with an example of how I'm trying to import, if I had a live demo it would be much better.