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

fix: cjs resolution cases #25739

Merged
merged 1 commit into from
Sep 20, 2024
Merged

fix: cjs resolution cases #25739

merged 1 commit into from
Sep 20, 2024

Conversation

devsnek
Copy link
Member

@devsnek devsnek commented Sep 19, 2024

Fixes cjs modules being loaded as esm.

Comment on lines +129 to +131
// FIXME: `deno_ast` should internally handle MediaType::Cjs implying that
// the result must never be Esm
Ok(CliCjsAnalysis::Cjs {
Copy link
Member

Choose a reason for hiding this comment

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

Could you open an issue in deno_ast before landing?

@devsnek devsnek merged commit a01dce3 into main Sep 20, 2024
17 checks passed
@devsnek devsnek deleted the cjs-fixes branch September 20, 2024 04:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants