We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
oxc_resolver: 1.2.0-1.3.0 os: Windows
let root = dir().join("fixtures\\enhanced_resolve\\test\\fixtures"); let mut ctx = ResolveContext::default(); let resolver = Resolver::new(ResolveOptions { alias: vec![( "@".into(), vec![AliasValue::Path(root.join("alias").to_string_lossy().into())], )], ..ResolveOptions::default() }); let _ = resolver.resolve_with_context(root, "@/files/a", &mut ctx); for d in ctx.file_dependencies.iter() { println!("{}", d.to_string_lossy()); }
C:\Users\imkf\Developer\oxc-resolver\fixtures\enhanced_resolve\test\fixtures\alias\files\a.js seen in output,
C:\Users\imkf\Developer\oxc-resolver\fixtures\enhanced_resolve\test\fixtures\alias\files\a.js
C:\Users\imkf\Developer\oxc-resolver\fixtures\enhanced_resolve\test\fixtures\alias/files/a.js got
C:\Users\imkf\Developer\oxc-resolver\fixtures\enhanced_resolve\test\fixtures\alias/files/a.js
web-infra-dev/rspack#5445
The text was updated successfully, but these errors were encountered:
oxc-resolver/src/lib.rs
Line 897 in 9da9171
I don't know how to fix this ... I'll check with enhanced_resolved tomorrow.
Sorry, something went wrong.
thank you
fix: normalize aliased path
570ab64
closes #73
62425c0
closes #73 closes #79
fix: normalize aliased path (#78)
bf08a0e
* fix: normalize aliased path closes #73 closes #79 * update
Boshen
Successfully merging a pull request may close this issue.
Summary
Expected
C:\Users\imkf\Developer\oxc-resolver\fixtures\enhanced_resolve\test\fixtures\alias\files\a.js
seen in output,Actual
C:\Users\imkf\Developer\oxc-resolver\fixtures\enhanced_resolve\test\fixtures\alias/files/a.js
gotRelated
web-infra-dev/rspack#5445
The text was updated successfully, but these errors were encountered: