-
Notifications
You must be signed in to change notification settings - Fork 1
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
Document module import methods #19
Document module import methods #19
Conversation
Add `require()`, `require.addon()`, `require.asset()` & `import.meta.resolve`.
The links jump to `Module.cache` not `module.cache` because anchors are lowercase and `Module.cache` comes first.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! Could you document require.resolve()
as well which is functionally equivalent to import.meta.resolve()
?
Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
…lt value Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
Co-authored-by: Kasper Isager Dalsgarð <[email protected]>
@kasperisager good catch on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point on the non-optional arguments, I missed that as well! LGTM! 🚀
No description provided.