Skip to content

[code-infra] Native Node.js ESM - #16603

Merged
Janpot merged 15 commits into
mui:masterfrom
Janpot:node-esm
Feb 18, 2025
Merged

Janpot merged 15 commits into
mui:masterfrom
Janpot:node-esm

Conversation

@Janpot

@Janpot Janpot commented Feb 15, 2025 •

Copy link
Copy Markdown
Member

Closes #11016 as per Stackblitz

Rewrite import specifiers for modules that don't have an exports field. The main import is covered by their main field, but nested paths can't be resolved under ESM rules. Since no exports field is provided, we can still access them under their absolute path.

@mui-bot

mui-bot commented Feb 15, 2025 •

Copy link
Copy Markdown

Deploy preview: https://deploy-preview-16603--material-ui-x.netlify.app/

Generated by 🚫 dangerJS against 0c51b3f

@github-actions github-actions Bot added the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 17, 2025
@github-actions

Copy link
Copy Markdown
Contributor

This pull request has conflicts, please resolve those before we can evaluate the pull request.

@github-actions github-actions Bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged. label Feb 17, 2025
@Janpot
Janpot marked this pull request as ready for review February 17, 2025 14:15
@Janpot Janpot changed the title [code-infra] Native Node.js esm [code-infra] Native Node.js ESM Feb 17, 2025
@Janpot
Janpot requested a review from LukasTy February 17, 2025 15:44

@LukasTy LukasTy left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thanks for working on this! 🙏

@Janpot
Janpot merged commit 3ed991b into mui:master Feb 18, 2025
@zannager zannager added the scope: code-infra Involves the code-infra product (https://www.notion.so/mui-org/5562c14178aa42af97bc1fa5114000cd). label Apr 30, 2026
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.

[charts][ESM] Can't import @mui/x-charts under node.js

4 participants