tsb: avoid processing css imports

This commit is contained in:
Aman Karmani
2025-01-07 18:04:08 -08:00
parent 33c3dbafa4
commit fb0388deb6
2 changed files with 6 additions and 1 deletions

View File

@@ -586,6 +586,9 @@ class LanguageServiceHost {
// node module?
return;
}
if (ref.fileName.endsWith('.css')) {
return;
}
const stopDirname = normalize(this.getCurrentDirectory());
let dirname = filename;
let found = false;