Skip to content
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

[core] Avoid leaking @babel/runtime #32874

Merged

Conversation

oliviertassinari
Copy link
Member

@oliviertassinari oliviertassinari commented May 23, 2022

Test that we don't need this dependency. https://deploy-preview-32874--material-ui.netlify.app/material-ui/react-checkbox/

As a side note, the version of @babel/runtime must be compatible with the version of @babel/plugin-transform-runtime used. Leaving "latest" might create bugs

This is a quick follow-up on #32726 (happy that we now better support Joy & Base :)

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
@oliviertassinari oliviertassinari added the core Infrastructure work going on behind the scenes label May 23, 2022
@@ -81,7 +81,7 @@ export default function SandboxDependencies(
newDeps['@mui/material'] = versions['@mui/material'];
}

// TODO: Where is this coming from and why does it need to be injected this way.
// TODO: consider if this configuration could be injected in a "cleaner" way.
Copy link
Member Author

@oliviertassinari oliviertassinari May 23, 2022

Choose a reason for hiding this comment

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

@mui-bot
Copy link

mui-bot commented May 23, 2022

No bundle size changes

Generated by 🚫 dangerJS against 70d7eb0

@oliviertassinari oliviertassinari marked this pull request as ready for review May 23, 2022 12:59
Copy link
Member

@siriwatknp siriwatknp left a comment

Choose a reason for hiding this comment

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

👍 Thanks! I missed it in the previous PR 🥲

@oliviertassinari oliviertassinari merged commit 3ca20a0 into mui:master May 24, 2022
@oliviertassinari oliviertassinari deleted the remove-orphan-dependency branch May 24, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Infrastructure work going on behind the scenes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants