MCPcopy Index your code
hub / github.com/nodejs/node / getOutputPathsForBundle

Function getOutputPathsForBundle

test/fixtures/snapshot/typescript.js:110041–110049  ·  view source on GitHub ↗
(options, forceDtsPaths)

Source from the content-addressed store, hash-verified

110039 ts.getTsBuildInfoEmitOutputFilePath = getTsBuildInfoEmitOutputFilePath;
110040 /*@internal*/
110041 function getOutputPathsForBundle(options, forceDtsPaths) {
110042 var outPath = ts.outFile(options);
110043 var jsFilePath = options.emitDeclarationOnly ? undefined : outPath;
110044 var sourceMapFilePath = jsFilePath && getSourceMapFilePath(jsFilePath, options);
110045 var declarationFilePath = (forceDtsPaths || ts.getEmitDeclarations(options)) ? ts.removeFileExtension(outPath) + ".d.ts" /* Extension.Dts */ : undefined;
110046 var declarationMapPath = declarationFilePath && ts.getAreDeclarationMapsEnabled(options) ? declarationFilePath + ".map" : undefined;
110047 var buildInfoPath = getTsBuildInfoEmitOutputFilePath(options);
110048 return { jsFilePath: jsFilePath, sourceMapFilePath: sourceMapFilePath, declarationFilePath: declarationFilePath, declarationMapPath: declarationMapPath, buildInfoPath: buildInfoPath };
110049 }
110050 ts.getOutputPathsForBundle = getOutputPathsForBundle;
110051 /*@internal*/
110052 function getOutputPathsFor(sourceFile, host, forceDtsPaths) {

Callers 4

getOutputPathsForFunction · 0.85
getSingleOutputFileNamesFunction · 0.85
getFirstProjectOutputFunction · 0.85
emitUsingBuildInfoFunction · 0.85

Calls 2

getSourceMapFilePathFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…