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

refactor: make jiti.esmResolve consistent with import.meta.resolve #303

Merged
merged 1 commit into from
Sep 25, 2024

Conversation

pi0
Copy link
Member

@pi0 pi0 commented Sep 25, 2024

Make new jiti.esmResolve consistent with import.meta.resolvd

  • The second argument can be also a string (parentURL same as node.js-behind-the-flag feature)
  • Return value is always file:// string normalized with mlly.

@pi0 pi0 self-assigned this Sep 25, 2024
@pi0 pi0 merged commit 27899c2 into main Sep 25, 2024
7 checks passed
@pi0 pi0 deleted the refactor/resolve-file branch September 25, 2024 15:47
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.

1 participant