-
Notifications
You must be signed in to change notification settings - Fork 2k
fix: update oxc-resolver and fix windows bug #9754
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
120bb13
to
a801035
Compare
a801035
to
bb7a179
Compare
bb7a179
to
8f1c30a
Compare
7dd427d
to
985e707
Compare
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.
Do we have a test for this fix?
@@ -453,7 +453,19 @@ impl Tracer { | |||
return (errors, None); | |||
}; | |||
|
|||
for import in imported_files { | |||
for mut import in imported_files { | |||
if cfg!(windows) { |
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.
Can you add a comment here explaining the bug this fixes?
Yeah the existing test suite caught the issue. It just blocked us from upgrading oxc-resolver. Although tbh I don't exactly know how to trigger windows path abbreviations, it just sort of happens |
Description
Upgrades oxc-resolver and fixes a bug that we found in Windows. We need to canonicalize paths manually since they may be the abbreviated version and that breaks our path equality logic.
Testing Instructions