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

fix: update oxc-resolver and fix windows bug #9754

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

NicholasLYang
Copy link
Contributor

@NicholasLYang NicholasLYang commented Jan 22, 2025

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

Copy link

vercel bot commented Jan 22, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
examples-basic-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-designsystem-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-gatsby-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-kitchensink-blog ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-native-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-nonmonorepo ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-svelte-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-tailwind-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm
examples-vite-web ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 24, 2025 11:25pm

@NicholasLYang NicholasLYang force-pushed the fix/oxc-resolver-windows branch from 120bb13 to a801035 Compare January 22, 2025 12:39
@NicholasLYang NicholasLYang force-pushed the fix/oxc-resolver-windows branch from a801035 to bb7a179 Compare January 22, 2025 13:31
@NicholasLYang NicholasLYang force-pushed the fix/oxc-resolver-windows branch from bb7a179 to 8f1c30a Compare February 19, 2025 13:49
Copy link
Member

@chris-olszewski chris-olszewski left a 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) {
Copy link
Member

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?

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