JS: Treat more file patterns as as tsconfig.json-like

This commit is contained in:
Asger F
2025-01-29 10:53:18 +01:00
parent a42c0f6b5b
commit bf80f0798b

View File

@@ -1140,7 +1140,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set<Path>
// extract TypeScript projects from 'tsconfig.json'
if (typeScriptMode == TypeScriptMode.FULL
&& file.getFileName().endsWith("tsconfig.json")
&& (file.getFileName().toString().contains("tsconfig.") && file.getFileName().toString().endsWith(".json"))
&& !excludes.contains(file)
&& isFileIncluded(file)) {
tsconfigFiles.add(file);