Skip to content

Commit 6328472

Browse files
authored
Add @mui/icons-material to the default optimizePackageImports list (#56801)
Feedback from https://twitter.com/younguyen95/status/1712850891521568896. Tested locally.
1 parent 607ba02 commit 6328472

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/next/src/server/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,9 +799,10 @@ function assignDefaults(
799799
'@tremor/react',
800800
'rxjs',
801801
'@mui/material',
802+
'@mui/icons-material',
802803
'recharts',
803-
'@material-ui/core',
804804
'react-use',
805+
'@material-ui/core',
805806
'@material-ui/icons',
806807
'@tabler/icons-react',
807808
'mui-core',

0 commit comments

Comments
 (0)