Title: Pluggable Loaders to support multiple use cases · Issue #82 · nodejs/modules · GitHub
Open Graph Title: Pluggable Loaders to support multiple use cases · Issue #82 · nodejs/modules
X Title: Pluggable Loaders to support multiple use cases · Issue #82 · nodejs/modules
Description: As #81 is getting into implementation details of the loader I thought it might be a good idea to start discussing an idea I have been kicking around for a robust solution. "Pluggable Loaders". This is heavily inspired by nodejs/node#1839...
Open Graph Description: As #81 is getting into implementation details of the loader I thought it might be a good idea to start discussing an idea I have been kicking around for a robust solution. "Pluggable Loaders". This...
X Description: As #81 is getting into implementation details of the loader I thought it might be a good idea to start discussing an idea I have been kicking around for a robust solution. "Pluggable Loaders&q...
Opengraph URL: https://github.com/nodejs/modules/issues/82
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pluggable Loaders to support multiple use cases","articleBody":"As #81 is getting into implementation details of the loader I thought it might be a good idea to start discussing an idea I have been kicking around for a robust solution. \"Pluggable Loaders\". This is heavily inspired by https://github.com/nodejs/node/pull/18392\r\n\r\nTLDR; (bluesky)\r\n\r\n* Loader Plugins can be specified via an out of band mechanism (a.k.a. package.json or command line argument). \r\n* Loader Plugins can included within a project as an es module or installed via a package manager\r\n* Loader Plugins can specify the behavior of the loader including\r\n - behavior for specific extensions or mimetypes\r\n - behavior for lack of extensions (e.g. path searching)\r\n* Loader Plugins can cascade\r\n - plugins can override default behavior\r\n\r\nExample loaders include\r\n - std/esm\r\n - TypeScript\r\n - wasm\r\n - Babel\r\n\r\nQuestions to be answered\r\n\r\n* Is this approach of interest?\r\n* Should plugins be specified per application or per package\r\n* What should node ship as default loaders?\r\n - Proposal\r\n - Package name map as default loader\r\n - \"Legacy\" loader shipped in core as well\r\n\r\nThoughts?","author":{"url":"https://github.com/MylesBorins","@type":"Person","name":"MylesBorins"},"datePublished":"2018-05-14T21:28:16.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":88},"url":"https://github.com/82/modules/issues/82"}
| 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:b1afe7c2-7124-9f3a-3cf9-a519c4b6d424 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 87D8:418ED:2AD6D9C:3AA50AB:6A4EEA8E |
| html-safe-nonce | 490de106e88d9587992af86ff7fc949b20e498e78128a357fef8d8afeb0b6c66 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4N0Q4OjQxOEVEOjJBRDZEOUM6M0FBNTBBQjo2QTRFRUE4RSIsInZpc2l0b3JfaWQiOiI3Nzg1Njc2ODgwNzAzNTgwODE0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 52f2412992a2c85f8ddea664ae04f56c51ca1939898bede98f1992dc3d03a5d6 |
| hovercard-subject-tag | issue:322988447 |
| 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/modules/82/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7663247ef5fd39c256ee7034c2c090e2abc5966cff2a1c6851bd5e8ed44ea5ae/nodejs/modules/issues/82 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7663247ef5fd39c256ee7034c2c090e2abc5966cff2a1c6851bd5e8ed44ea5ae/nodejs/modules/issues/82 |
| og:image:alt | As #81 is getting into implementation details of the loader I thought it might be a good idea to start discussing an idea I have been kicking around for a robust solution. "Pluggable Loaders". This... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MylesBorins |
| hostname | github.com |
| expected-hostname | github.com |
| None | d12176b31601daf8d3de9a378cbbcf7dac6f33d990d1faedcb9c9b9ff3cbb1ed |
| turbo-cache-control | no-preview |
| go-import | github.com/nodejs/modules git https://github.com/nodejs/modules.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 119901830 |
| octolytics-dimension-repository_nwo | nodejs/modules |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 119901830 |
| octolytics-dimension-repository_network_root_nwo | nodejs/modules |
| 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 | 9420180b23897f48b04b8d47ee8b1a9341197b64 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width