-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
ESM: exports not utilised when importing CJS. #29537
Copy link
Copy link
Closed
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.questionIssues that look for answers.Issues that look for answers.
Metadata
Metadata
Assignees
Labels
esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.questionIssues that look for answers.Issues that look for answers.
Version: v12.10.0
Platform: msdos, x86_16
Subsystem: ESM
Using
"type": "module"and an mjs as an entry point, module isn't uses from package.json and when falling back to main (CJS), using purely exports rather than assigning module.exports doesn't appear to work.Seen when trying to use rollup-plugin-analyzer.