Skip to content

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Oct 14, 2025

Added a few types to better under stand how the code flows wrt webpack cache. May as well commit them for future use. The code didn't alter semantically in any way, it's 100% types.

@dav-is I remember you mentioned before that this loader doesn't do correct dependency tracking. I'm seeing addDependency all over the place, did you have a specific case in mind?

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Oct 14, 2025
@mui-bot
Copy link

mui-bot commented Oct 14, 2025

Netlify deploy preview

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

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 29c3b36

@dav-is
Copy link
Member

dav-is commented Oct 14, 2025

@dav-is I remember you mentioned before that this loader doesn't do correct dependency tracking.

It was Base UI's types loader that doesn't have proper dependency tracking. This one looks like it's adding dependencies properly

@Janpot Janpot marked this pull request as ready for review October 15, 2025 07:22
@Janpot Janpot requested a review from a team October 15, 2025 07:22
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