JavaScript: Extract tsconfig.json also in basic mode

This is needed for the logic that skips files inside the directory
specified in the `tsconfig.json` `outDir` compiler option.
This commit is contained in:
Taus
2025-06-05 15:01:05 +00:00
parent 619256e037
commit 281ccf7c11

View File

@@ -1186,7 +1186,7 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set<Path>
}
// extract TypeScript projects from 'tsconfig.json'
if (typeScriptMode == TypeScriptMode.FULL
if (typeScriptMode != TypeScriptMode.NONE
&& treatAsTSConfig(file.getFileName().toString())
&& !excludes.contains(file)
&& isFileIncluded(file)) {