Open ampratt opened 1 year ago
Hey @ampratt do you have a repo to share ?
No i don't. It is in a private repo that cannot be shared unfortunately
when reverting back to version 7.0.4 it works again
Same issue here. For the moment I solved it by downgrading from version 9 to 8.
Are you using the latest vite ?
No, just create-react-app with TS
I have just updated from react-toastify v7.0.x to the current 9.1.1, as well as migrated my CRA react app to Vite
I have a set of shared components that get published in a private npm repo and one is a notifications component like this
Now that I have updated and am using Vite, this component still works when I import it locally, but it does not work when I import from my shared component.
I do get this warning, but it comes regardless of where I take the import from and it still works locally