Material UI v5: import from the package root
ProprietaryRewrites imports of one module per component of @mui/material to imports from the package root. Ported from the MUI codemod v5.0.0/top-level-imports.
org. openrewrite. react. mui. v5. top-level-importsmod run . --recipe= org. openrewrite. react. mui. v5. top-level-importsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.