diff --git a/docs/data/material/migration/migration-v5/migration-v5.md b/docs/data/material/migration/migration-v5/migration-v5.md index 7ab3909a8671a0..c6febcdb642a63 100644 --- a/docs/data/material/migration/migration-v5/migration-v5.md +++ b/docs/data/material/migration/migration-v5/migration-v5.md @@ -48,6 +48,8 @@ Expect updates as new breaking changes are introduced. ### UMD bundle was removed - +To align with React 19's removal of UMD builds, Material UI has also removed its UMD bundle. +This results in a reduction of the `@mui/material` package size by 2.5MB or 25% of the total package size. -The UMD bundle is no longer provided. This was replaced in favor of [ESM CDNs](https://esm.sh/). Please refer to the [CDN docs](https://next.mui.com/material-ui/getting-started/installation/#cdn) for alternatives. +Instead, using ESM-based CDNs such as [esm.sh](https://esm.sh/) is recommended. +For alternative installation methods, refer to the [CDN documentation](/material-ui/getting-started/installation/#cdn). diff --git a/docs/src/modules/components/MaterialUIExampleCollection.js b/docs/src/modules/components/MaterialUIExampleCollection.js index 2c213f6d8074be..b3fce3970e5cc2 100644 --- a/docs/src/modules/components/MaterialUIExampleCollection.js +++ b/docs/src/modules/components/MaterialUIExampleCollection.js @@ -8,6 +8,7 @@ import Link from '@mui/material/Link'; import ChevronRightRoundedIcon from '@mui/icons-material/ChevronRightRounded'; import CloudRoundedIcon from '@mui/icons-material/CloudRounded'; +// #default-branch-switch const examples = [ { name: 'Next.js App Router', diff --git a/examples/material-ui-via-cdn/index.html b/examples/material-ui-via-cdn/index.html index 253082f973bc5b..35d028fb989b3a 100644 --- a/examples/material-ui-via-cdn/index.html +++ b/examples/material-ui-via-cdn/index.html @@ -16,10 +16,10 @@ @@ -32,13 +32,87 @@