Skip to content

Commit bb7a179

Browse files
committed
Bumping oxc-resolver and adding debug statements
1 parent 7828e2c commit bb7a179

File tree

3 files changed

+31
-6
lines changed

3 files changed

+31
-6
lines changed

Cargo.lock

Lines changed: 26 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ notify = "6.1.1"
118118
num_cpus = "1.15.0"
119119
once_cell = "1.17.1"
120120
owo-colors = "3.5.0"
121-
oxc_resolver = { version = "2.1.0" }
121+
oxc_resolver = { version = "4.0.0" }
122122
parking_lot = "0.12.1"
123123
path-clean = "1.0.1"
124124
pathdiff = "0.2.1"

crates/turbo-trace/src/tracer.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -439,6 +439,8 @@ impl Tracer {
439439
futures.spawn(async move {
440440
let file_resolver = Self::infer_resolver_with_ts_config(&file, &resolver);
441441
let resolver = file_resolver.as_ref().unwrap_or(&resolver);
442+
eprintln!("file: {:?}", file);
443+
eprintln!("resolver: {:?}", resolver);
442444
let mut errors = Vec::new();
443445

444446
let Some((imported_files, seen_file)) = Self::get_imports_from_file(
@@ -450,10 +452,12 @@ impl Tracer {
450452
)
451453
.await
452454
else {
455+
eprintln!("failed to get imports from file");
453456
return (errors, None);
454457
};
455458

456459
for import in imported_files {
460+
eprintln!("import: {:?}", import);
457461
if shared_self
458462
.files
459463
.iter()

0 commit comments

Comments
 (0)