Skip to content

Commit 8a883ae

Browse files
committed
Comments
1 parent fc22b5b commit 8a883ae

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/compiler/tsbuild.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,6 @@ namespace ts {
252252
}
253253

254254
function getOutputJavaScriptFileName(inputFileName: string, configFile: ParsedCommandLine) {
255-
// TODO handle JSX: Preserve
256255
const relativePath = getRelativePathFromDirectory(rootDirOfOptions(configFile.options, configFile.options.configFilePath), inputFileName, /*ignoreCase*/ true);
257256
const outputPath = resolvePath(configFile.options.outDir || getDirectoryPath(configFile.options.configFilePath), relativePath);
258257
return changeExtension(outputPath, (fileExtensionIs(inputFileName, ".tsx") && configFile.options.jsx === JsxEmit.Preserve) ? ".jsx" : ".js");
@@ -295,7 +294,7 @@ namespace ts {
295294
const cache = createFileMap<ParsedCommandLine>();
296295
const configParseHost = parseConfigHostFromCompilerHost(host);
297296

298-
// TODO: Cache invalidation under --watch!
297+
// TODO: Cache invalidation under --watch
299298

300299
function parseConfigFile(configFilePath: string) {
301300
const sourceFile = host.getSourceFile(configFilePath, ScriptTarget.JSON) as JsonSourceFile;
@@ -591,7 +590,6 @@ namespace ts {
591590

592591
/**
593592
* Removes entries from arrays which appear in later arrays.
594-
* TODO: Use a lookup object to optimize this a bit?
595593
*/
596594
function removeDuplicatesFromBuildQueue(queue: string[][]): void {
597595
// No need to check the last array

0 commit comments

Comments
 (0)