Material UI v1: flatten the @material-ui/core import paths
ProprietaryMoves the nested module paths of @material-ui/core, such as @material-ui/core/Card/CardActions, to one level, @material-ui/core/CardActions. Ported from the MUI codemod v1.0.0/import-path; imports of several names from one path are not split.
org. openrewrite. react. mui. v1. import-pathmod run . --recipe= org. openrewrite. react. mui. v1. import-pathInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.