Skip to content

Conversation

@Janpot
Copy link
Member

@Janpot Janpot commented Feb 15, 2024

Noticed netlify build errors started happening the day I moved to next.config.mjs.
This PR aligns the method of loading commonjs modules using createRequire with the way Toolpad does it instead of relying on esm/cjs interop.

@Janpot Janpot added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Feb 15, 2024
@mui-bot
Copy link

mui-bot commented Feb 15, 2024

Netlify deploy preview

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

Bundle size report

No bundle size changes (Toolpad)
No bundle size changes

Generated by 🚫 dangerJS against 2ccdfcb

@Janpot Janpot marked this pull request as ready for review February 15, 2024 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants