diff --git a/src/lib.rs b/src/lib.rs index 1f78fb6..5f4508e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -106,7 +106,7 @@ impl NodeModulesRunner { let Ok(source_type) = SourceType::from_path(path) else { continue; }; - if PATH_IGNORES.iter().any(|p| path.to_string_lossy().contains(p)) { + if PATH_IGNORES.iter().any(|p| path.to_string_lossy().replace('\\', "/").contains(p)) { continue; } if source_type.is_typescript_definition() {