Title: ESM: exports not utilised when importing CJS. · Issue #29537 · nodejs/node · GitHub
Open Graph Title: ESM: exports not utilised when importing CJS. · Issue #29537 · nodejs/node
X Title: ESM: exports not utilised when importing CJS. · Issue #29537 · nodejs/node
Description: 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.expo...
Open Graph Description: 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 e...
X Description: 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 ma...
Opengraph URL: https://github.com/nodejs/node/issues/29537
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"ESM: exports not utilised when importing CJS.","articleBody":"Version: v12.10.0\r\nPlatform: msdos, x86_16\r\nSubsystem: ESM\r\n\r\nUsing `\"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.\r\n\r\nSeen when trying to use rollup-plugin-analyzer.","author":{"url":"https://github.com/joeyhub","@type":"Person","name":"joeyhub"},"datePublished":"2019-09-12T16:27:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":18},"url":"https://github.com/29537/node/issues/29537"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6559a7e2-3463-1f85-e0f6-0e15f5126a7d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BFCE:14248:DC7438:13DB373:6A4E4F4E |
| html-safe-nonce | 2016ff991ffb86d765f4823c3231c0b9fb98a05bb9b8da5d9ece6c535bafce7f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkNFOjE0MjQ4OkRDNzQzODoxM0RCMzczOjZBNEU0RjRFIiwidmlzaXRvcl9pZCI6Ijg1NjEwMDgxMjY0ODM5MTA0NzgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 101c92267b94eef8f72b22f22e05923d637e8ba6577cef877a41276062b5a5ba |
| hovercard-subject-tag | issue:492909459 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/29537/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cd1eeb6da9f4df91da955893e27a0862502daddec9a34886c168626829db79ff/nodejs/node/issues/29537 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cd1eeb6da9f4df91da955893e27a0862502daddec9a34886c168626829db79ff/nodejs/node/issues/29537 |
| og:image:alt | 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 e... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | joeyhub |
| hostname | github.com |
| expected-hostname | github.com |
| None | 030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | e8506f6d0538364886e3f0153c154c410965e70d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width