-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loader docs return value for source from transform? #35
Comments
It should probably say acceptable values for |
The format is specified in the first column so I think it the resolve part should just be removed? Acceptable types For source returned by |
@GeoffreyBooth the 3rd column is indeed types for
Yes! |
I think the most current docs for the loader hooks are here:
https://github.com/nodejs/node/blob/master/doc/api/esm.md#loadurl-context-defaultload
In the section above in the table for formats, it has a column called
This leads me to believe that
resolve
somehow would be capable of returningsource
but I think it is not? Is this an error in the docs or have I misunderstood something?The text was updated successfully, but these errors were encountered: