Skip to content

Conversation

@michaldudak
Copy link
Member

A follow-up to #40398. I missed a cycle between @mui/material and @mui/icons-material.

@michaldudak michaldudak added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Jan 2, 2024
@michaldudak michaldudak requested a review from a team January 2, 2024 13:51
@mui-bot
Copy link

mui-bot commented Jan 2, 2024

Netlify deploy preview

https://deploy-preview-40400--material-ui.netlify.app/

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 187830f

Copy link
Member

@Janpot Janpot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, the dependency is only there because of testing. If you look at it from a different angle, it's sort of an integration test. Integrating @mui/material with @mio/icons-material. One could argue the test belongs in the top-level. But in practice this is not a integration test. The solution seems good enough for this case 👍

@michaldudak michaldudak merged commit ad912d6 into mui:master Jan 2, 2024
@michaldudak michaldudak deleted the break-dependency-cycles-icons branch January 2, 2024 14:29
mnajdova pushed a commit to mnajdova/material-ui that referenced this pull request Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants