Commonjs build breaks rollup (vitejs)See original GitHub issue
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).
- My reproduction repo using vitejs + styled-react-modal https://github.com/vitejs/vite/issues/4935
- The thread about esbuilt and commonjs packages https://github.com/vitejs/vite/issues/4209#issuecomment-920938852
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top GitHub Comments
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.