Skip to content

Commit

Permalink
next.config: dont need to modularizeImports for mui, done by default now
Browse files Browse the repository at this point in the history
  • Loading branch information
mimecuvalo committed Nov 3, 2023
1 parent 21916f7 commit ba7fba0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ const nextConfig = {
scrollRestoration: true,
},

// N.B. This is super important so that our bundles don't slow down the whole site.
modularizeImports: {
'@mui/material': {
transform: '@mui/material/{{member}}',
},
'@mui/icons-material': {
transform: '@mui/icons-material/{{member}}',
},
},

i18n: {
locales: ['en', 'fr'],
defaultLocale: 'en',
Expand Down

0 comments on commit ba7fba0

Please sign in to comment.