Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[code-infra] Fully resolve imports in ESM target #3975

Merged
merged 2 commits into from
Aug 23, 2024

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Aug 21, 2024

Stepping stone towards full ESM support.
This babel plugin replaces imports with their full resolved path + extension.

./path/to/module becomes ./path/to/module.js or ./path/to/module/index.js, depending on where it resolves to.

See mui/material-ui#43294

blocked on

@Janpot Janpot added the scope: code-infra Specific to the core-infra product label Aug 21, 2024
@github-actions github-actions bot added the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 22, 2024
@github-actions github-actions bot removed the PR: out-of-date The pull request has merge conflicts and can't be merged label Aug 22, 2024
@Janpot Janpot marked this pull request as ready for review August 22, 2024 16:33
@Janpot Janpot requested a review from a team August 22, 2024 16:33
@Janpot Janpot merged commit e4044bc into mui:master Aug 23, 2024
14 checks passed
@Janpot Janpot deleted the import-extensions branch August 23, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: code-infra Specific to the core-infra product
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant