mui / material-ui

Material UI: Ready-to-use foundational React components, free forever. It includes Material UI, which implements Google's Material Design.
https://mui.com/material-ui/
MIT License
92.42k stars 31.83k forks source link

[examples] Migrate Next.js config.next.js to config.next.mjs #42568

Open oliviertassinari opened 3 weeks ago

oliviertassinari commented 3 weeks ago

Steps to reproduce

See https://github.com/mui/material-ui/blob/next/examples/material-ui-nextjs-pages-router-ts/next.config.js

Current behavior

next.config.js file

Expected behavior

next.config.mjs

Context

No response

Your environment

npx @mui/envinfo ``` Don't forget to mention which browser you used. Output from `npx @mui/envinfo` goes here. ```

Search keywords: -

oliviertassinari commented 3 weeks ago

Well, maybe we don't need to do this actually. It's for the Page Router, I did the bulk of the replacements in #40661.