top-level-imports v5 changing color imports #45051
Labels
bug 🐛
Something doesn't work
package: codemod
Specific to @mui/codemod
ready to take
Help wanted. Guidance available. There is a high chance the change will be accepted
v5.x
waiting for 👍
Waiting for upvotes
Steps to reproduce
Steps:
import { grey } from @mui/material/colors;
import { grey } from '@mui/material';
Current behavior
Steps:
import { grey } from @mui/material/colors;
import { grey } from '@mui/material';
Expected behavior
npx @mui/codemod@latest v5.0.0/top-level-imports <path>
should not change imports to those that are not validContext
No response
Your environment
npx @mui/envinfo
Search keywords: codemod, top-level-import, color imports
The text was updated successfully, but these errors were encountered: