(bundle, buildInfoPath)
| 110292 | } |
| 110293 | } |
| 110294 | function emitBuildInfo(bundle, buildInfoPath) { |
| 110295 | // Write build information if applicable |
| 110296 | if (!buildInfoPath || targetSourceFile || emitSkipped) |
| 110297 | return; |
| 110298 | var program = host.getProgramBuildInfo(); |
| 110299 | if (host.isEmitBlocked(buildInfoPath)) { |
| 110300 | emitSkipped = true; |
| 110301 | return; |
| 110302 | } |
| 110303 | var version = ts.version; // Extracted into a const so the form is stable between namespace and module |
| 110304 | ts.writeFile(host, emitterDiagnostics, buildInfoPath, getBuildInfoText({ bundle: bundle, program: program, version: version }), /*writeByteOrderMark*/ false); |
| 110305 | } |
| 110306 | function emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath, relativeToBuildInfo) { |
| 110307 | if (!sourceFileOrBundle || emitOnlyDtsFiles || !jsFilePath) { |
| 110308 | return; |
no test coverage detected
searching dependent graphs…