Skip to content

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

Merged
ZeeshanTamboli merged 4 commits intomui:masterfrom
albarv340:migrate-to-config-mjs
Nov 6, 2025
Merged

[examples] Migrate Next.js next.config.js to next.config.mjs#44040
ZeeshanTamboli merged 4 commits intomui:masterfrom
albarv340:migrate-to-config-mjs

Conversation

@albarv340
Copy link
Copy Markdown
Contributor

Closes #42568

This renames all next.config.js to next.config.mjs and adjusts their code to still work. This is how I understood this issue, please let me know if I have misunderstood anything.

@mui-bot
Copy link
Copy Markdown

mui-bot commented Oct 8, 2024

Netlify deploy preview

https://deploy-preview-44040--material-ui.netlify.app/

Bundle size report

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes

Generated by 🚫 dangerJS against 803eb6c

@zannager zannager added the examples Relating to /examples. label Oct 8, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 5, 2025
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label May 16, 2025
@siriwatknp siriwatknp closed this May 16, 2025
@siriwatknp siriwatknp reopened this May 16, 2025
@oliviertassinari oliviertassinari added the scope: all components Widespread work has an impact on almost all components. label Aug 21, 2025
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Oct 15, 2025
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Nov 6, 2025
@ZeeshanTamboli ZeeshanTamboli changed the title [examples] Migrate Next.js config.next.js to config.next.mjs [examples] Migrate Next.js next.config.js to next.config.mjs Nov 6, 2025
Copy link
Copy Markdown
Member

@ZeeshanTamboli ZeeshanTamboli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@ZeeshanTamboli ZeeshanTamboli added nextjs type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature. and removed scope: all components Widespread work has an impact on almost all components. labels Nov 6, 2025
@ZeeshanTamboli ZeeshanTamboli enabled auto-merge (squash) November 6, 2025 14:21
@ZeeshanTamboli ZeeshanTamboli merged commit 96e6c43 into mui:master Nov 6, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

examples Relating to /examples. nextjs type: enhancement It’s an improvement, but we can’t make up our mind whether it's a bug fix or a new feature.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

6 participants