Skip to content
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

Merged
merged 27 commits into from
Jan 4, 2025

Conversation

lejeunerenard
Copy link
Contributor

No description provided.

@kasperisager kasperisager self-requested a review January 2, 2025 21:28
Copy link
Contributor

@kasperisager kasperisager left a 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()?

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@lejeunerenard
Copy link
Contributor Author

@kasperisager good catch on require.resolve(), sorry about that! Now added.
While working on it, I also realized I incorrectly marked some of the method parameters as optional / having default values. Those were fixed in 1e5d861.

Copy link
Contributor

@kasperisager kasperisager left a 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! 🚀

@kasperisager kasperisager merged commit 4b3a6d0 into holepunchto:main Jan 4, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants