Title: 📦 RFC — Convert modules to ESM · Issue #421 · hoverinc/hover-javascript · GitHub
Open Graph Title: 📦 RFC — Convert modules to ESM · Issue #421 · hoverinc/hover-javascript
X Title: 📦 RFC — Convert modules to ESM · Issue #421 · hoverinc/hover-javascript
Description: Use ECMAScript modules instead of CommonJS. Convert all require based imports to use import Update build and package entry points to be backward compatible with CJS consumers See https://2ality.com/2019/10/hybrid-npm-packages.html #### S...
Open Graph Description: Use ECMAScript modules instead of CommonJS. Convert all require based imports to use import Update build and package entry points to be backward compatible with CJS consumers See https://2ality.com...
X Description: Use ECMAScript modules instead of CommonJS. Convert all require based imports to use import Update build and package entry points to be backward compatible with CJS consumers See https://2ality.com...
Opengraph URL: https://github.com/hoverinc/hover-javascript/issues/421
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"📦 RFC — Convert modules to ESM","articleBody":"Use [ECMAScript](https://nodejs.org/api/esm.html) modules instead of CommonJS.\r\n\r\n- Convert all `require` based imports to use `import`\r\n- Update build and package entry points to be backward compatible with CJS consumers\r\n\r\n#### See\r\n- https://2ality.com/2019/10/hybrid-npm-packages.html #### See\r\n- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\r\n\r\n##### Pure ESM Dependencies\r\n- #420 \r\n- #415 \r\n- #390","author":{"url":"https://github.com/jrolfs","@type":"Person","name":"jrolfs"},"datePublished":"2021-05-08T05:46:49.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/421/hover-javascript/issues/421"}
| 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:3a99578a-eadd-ee1a-2643-54dc2b84101c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A914:F3999:1E7F1AC:27E3ED7:69818435 |
| html-safe-nonce | d05dc462b658e065bf23e1b6979a914d8ecc66356eefb29dd438db5407987a0d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTE0OkYzOTk5OjFFN0YxQUM6MjdFM0VENzo2OTgxODQzNSIsInZpc2l0b3JfaWQiOiI0NjQ4MDE1NTQyMjM2NTc4ODY5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 8a26175fa181189d3fe2da1ac63a8a525baf77c0b871a49bb163a94fef9e689a |
| hovercard-subject-tag | issue:880329949 |
| 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/hoverinc/hover-javascript/421/issue_layout |
| twitter:image | https://opengraph.githubassets.com/ec2e1f13e4151627b1b2340dc4d803b3304c0a9f27d01c78de6772b21f89b1a5/hoverinc/hover-javascript/issues/421 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/ec2e1f13e4151627b1b2340dc4d803b3304c0a9f27d01c78de6772b21f89b1a5/hoverinc/hover-javascript/issues/421 |
| og:image:alt | Use ECMAScript modules instead of CommonJS. Convert all require based imports to use import Update build and package entry points to be backward compatible with CJS consumers See https://2ality.com... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jrolfs |
| hostname | github.com |
| expected-hostname | github.com |
| None | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| turbo-cache-control | no-preview |
| go-import | github.com/hoverinc/hover-javascript git https://github.com/hoverinc/hover-javascript.git |
| octolytics-dimension-user_id | 833015 |
| octolytics-dimension-user_login | hoverinc |
| octolytics-dimension-repository_id | 200279553 |
| octolytics-dimension-repository_nwo | hoverinc/hover-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 200279553 |
| octolytics-dimension-repository_network_root_nwo | hoverinc/hover-javascript |
| 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 | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width