Closed
Description
Initial checklist
- I read the support docs
- I read the contributing guide
- I agree to follow the code of conduct
- I searched issues and couldn’t find anything (or linked relevant results below)
Affected packages and versions
7.1.3
Link to runnable example
No response
Steps to reproduce
- Use rollup for bundling with this library as a dependency (or a peer dependency)
- Build the project and run it in a browser
Expected behavior
It runs
Actual behavior
Rollup (and by extension vite) doesn't bundle circular dependencies properly which results in the app failing during production builds.
Related issue: syntax-tree/mdast-util-to-hast#55
Runtime
Other (please specify in steps to reproduce)
Package manager
yarn v1
OS
Windows
Build and bundle tools
Rollup, Vite