-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
esm: Modify ESM Experimental Loader HooksΒ #34753
Copy link
Copy link
Open
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.
Metadata
Metadata
Assignees
Labels
discussIssues opened for discussions and feedbacks.Issues opened for discussions and feedbacks.esmIssues and PRs related to the ECMAScript Modules implementation.Issues and PRs related to the ECMAScript Modules implementation.
Type
Fields
Give feedbackNo fields configured for issues without a type.
This issue is regarding #34144 . The original proposal on that PR was to modify the
getSourceloader hook to be able to optionally return aformatin its return object that overrides the format returned bygetFormat.This method was eventually discussed at a team meeting: nodejs/modules#536 and a new proposal was eventually brought up: remove the
getFormathook entirely.I plan to explore this option and submit a PR in the coming 2 weeks.
cc: @jkrems @nodejs/modules-active-members