Merge pull request #18807 from asgerf/js/vue-without-tsconfig-fixup

JS: Extract TS snippets with no tsconfig.json file
This commit is contained in:
Asger F
2025-02-19 13:31:08 +01:00
committed by GitHub

View File

@@ -1087,6 +1087,12 @@ protected DependencyInstallationResult preparePackagesAndDependencies(Set<Path>
remainingTypeScriptFiles.add(f);
}
}
for (Map.Entry<Path, FileSnippet> entry : state.getSnippets().entrySet()) {
if (!extractedFiles.contains(entry.getKey())
&& FileType.forFileExtension(entry.getKey().toFile()) == FileType.TYPESCRIPT) {
remainingTypeScriptFiles.add(entry.getKey());
}
}
if (!remainingTypeScriptFiles.isEmpty()) {
extractTypeScriptFiles(remainingTypeScriptFiles, extractedFiles, extractors);
}