Skip to content

module: CJS exports detection for all CJS modules#35249

Closed
guybedford wants to merge 4 commits intonodejs:masterfrom
guybedford:cjs-export-detection-all
Closed

module: CJS exports detection for all CJS modules#35249
guybedford wants to merge 4 commits intonodejs:masterfrom
guybedford:cjs-export-detection-all

Conversation

@guybedford
Copy link
Copy Markdown
Contributor

This is another PR for CommonJS named exports identical to #33416 but without the restriction to modules with the __esModule flag.

This PR is made to separate the consensus process for this PR from the PR at #33416, which strictly speaking could land given that it now has consensus.

If all those involved could review this PR with their opinions on relaxing the __esModule restriction that would be a help to determine which if any approach might ship. This way we can clearly choose between the three choices.

//cc @nodejs/modules-active-members

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

esm Issues and PRs related to the ECMAScript Modules implementation. lib / src Issues and PRs related to general changes in the lib or src directory. semver-minor PRs that contain new features and should be released in the next minor version.

Projects

None yet

Development

Successfully merging this pull request may close these issues.