Skip to content

Update ESM hook for consolidated node API #1372

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
cspotcode opened this issue Jun 11, 2021 · 0 comments · Fixed by #1457
Closed

Update ESM hook for consolidated node API #1372

cspotcode opened this issue Jun 11, 2021 · 0 comments · Fixed by #1457
Milestone

Comments

@cspotcode
Copy link
Collaborator

cspotcode commented Jun 11, 2021

nodejs/node#37468 consolidates the loader hooks to only 2x functions. If/when it lands, we'll need to export implementations of those functions. We should be able to implement them largely on top of what we already have. The default* functions we get from node will be different, though.

Updated node docs are here: https://github.com/nodejs/node/blob/master/doc/api/esm.md#loaders

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant