-
-
Notifications
You must be signed in to change notification settings - Fork 16
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
Trailing slashes in the parent are handled differently from import.meta.resolve
#30
Comments
My bad, I was missing the |
weird, I didn’t know there is an |
Ah, so, currently: without FYI: You have to pass a URL to a file: https://github.com/wooorm/import-meta-resolve. So no |
Ah unfortunately it's not my code, but another package I'm using that depends on import-meta-resolve :( But I appreciate the info! |
When the parent URL is a directory without a trailing slash, the
resolve
starts at the parent's parent, butimport.meta.resolve
uses the parent still.A test script run from the root of this repo shows the behavior
The text was updated successfully, but these errors were encountered: