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
Commonjs build breaks rollup (vitejs) #50
Comments
+1 - Tried a multitude of different CJS plugins and configurations for Vite, but still have the same problem as @blechatellier. |
Sorry for taking a while to get back to you. I hope to have some time to look into this over the next couple weekends or so—busy times at my day job at the moment. I'd be happy to review a PR in the meantime if anyone has the time, but otherwise I'm hoping to address all the open issues before the new year. |
Hi @uglow and @blechatellier, I just published v3.0.0-alpha which uses rollup and exposes an mjs build. If you have a minute during this week, it would be great if you could test it out. You'll just need to run |
@AlexanderRichey thanks so much, will give it a try and report back. |
@AlexanderRichey works as expected now, thanks for your help! |
The fix has been released: https://github.com/AlexanderRichey/styled-react-modal/releases/tag/v3.0.0 |
Hello, any chance we could export
styled-react-modal
as an esm module instead of commonjs (or both), this is causing issues when compiling with rollup (vitejs).Thanks!
The text was updated successfully, but these errors were encountered: