[material-ui] How to reduce bundle size? #42027
Labels
package: material-ui
Specific to @mui/material
performance
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
Link to live example: (required)
Steps:
1.
2.
3.
Current behavior
No response
Expected behavior
No response
Context
We have react js application integrated with MUI. When application is deployed production on Kubernetes, we observed size of MUI packages taking more than 350mb space.
packages taking extra space are @mui, @mui/icons-material
version used :5
Can you please suggest how to reduce bundle size of MUI packages, i referred below link but didn't get much help. Top level imports are used in application e.g. "import { Button, TextField } from '@mui/material';"
https://mui.com/material-ui/guides/minimizing-bundle-size/
Your environment
No response
Search keywords: memory
The text was updated successfully, but these errors were encountered: