Skip to content

Commit

Permalink
fix modularizeImports with @mui/material (#51953)
Browse files Browse the repository at this point in the history
Fixes #51872. We were exploring in
mui/material-ui#35457 the option to move the
`modularizeImports` config to our Next.js examples to fix
mui/material-ui#35450 however, we never got to
complete the work.

We are not yet in a position where we can apply modularizeImports to
`@mui/material`. We still have folders to create to make it work.

Maybe we should close mui/material-ui#35457?

Co-authored-by: JJ Kasper <jj@jjsweb.site>
  • Loading branch information
oliviertassinari and ijjk committed Jun 29, 2023
1 parent f4b947f commit 60d2738
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/next/src/server/config.ts
Expand Up @@ -693,9 +693,6 @@ function assignDefaults(
'@mui/icons-material': {
transform: '@mui/icons-material/{{member}}',
},
'@mui/material': {
transform: '@mui/material/{{member}}',
},
'date-fns': {
transform: 'date-fns/{{member}}',
},
Expand Down

0 comments on commit 60d2738

Please sign in to comment.