Allow empty own source files

This commit is contained in:
Sheetal Nandi committed 2019-02-21 17:36:20 -08:00
1 parent 29862cecdf
commit 1e24cd19a8
89 files changed
+7637 -47

No files matched your search

+24 -15
View File
@@ -151,7 +151,10 @@ namespace ts {
function emitSourceFileOrBundle({ jsFilePath, sourceMapFilePath, declarationFilePath, declarationMapPath, buildInfoPath }: EmitFileNames, sourceFileOrBundle: SourceFile | Bundle | undefined) {
if (buildInfoPath && sourceFileOrBundle && isBundle(sourceFileOrBundle)) {
bundleBuildInfo = { commonSourceDirectory: host.getCommonSourceDirectory() };
bundleBuildInfo = {
commonSourceDirectory: host.getCommonSourceDirectory(),
sourceFiles: sourceFileOrBundle.sourceFiles.map(file => file.fileName)
};
}
emitJsFileOrBundle(sourceFileOrBundle, jsFilePath, sourceMapFilePath);
emitDeclarationFileOrBundle(sourceFileOrBundle, declarationFilePath, declarationMapPath);
@@ -505,19 +508,27 @@ namespace ts {
getNewLine(): string;
}
function createSourceFilesForPrologues(bundle: BundleFileInfo): ReadonlyArray<SourceFile> {
return map(bundle.sources && bundle.sources.prologues, prologueInfo => {
const sourceFile = createNode(SyntaxKind.SourceFile, 0, prologueInfo.text.length) as SourceFile;
sourceFile.fileName = prologueInfo.file;
function createSourceFilesFromBundleBuildInfo(bundle: BundleBuildInfo): ReadonlyArray<SourceFile> {
const sourceFiles = bundle.sourceFiles.map(fileName => {
const sourceFile = createNode(SyntaxKind.SourceFile, 0, 0) as SourceFile;
sourceFile.fileName = fileName;
sourceFile.text = "";
sourceFile.statements = createNodeArray();
return sourceFile;
});
const jsBundle = Debug.assertDefined(bundle.js);
forEach(jsBundle.sources && jsBundle.sources.prologues, prologueInfo => {
const sourceFile = sourceFiles[prologueInfo.file];
sourceFile.text = prologueInfo.text;
sourceFile.end = prologueInfo.text.length;
sourceFile.statements = createNodeArray(prologueInfo.directives.map(directive => {
const statement = createNode(SyntaxKind.ExpressionStatement, directive.pos, directive.end) as PrologueDirective;
statement.expression = createNode(SyntaxKind.StringLiteral, directive.expression.pos, directive.expression.end) as StringLiteral;
statement.expression.text = directive.expression.text;
return statement;
}));
return sourceFile;
}) || emptyArray;
});
return sourceFiles;
}
/*@internal*/
@@ -554,7 +565,7 @@ namespace ts {
);
const outputFiles: OutputFile[] = [];
const prependNodes = createPrependNodes(config.projectReferences, getCommandLine, f => host.readFile(f));
const sourceFilesForJsEmit = createSourceFilesForPrologues(buildInfo.bundle.js);
const sourceFilesForJsEmit = createSourceFilesFromBundleBuildInfo(buildInfo.bundle);
const emitHost: EmitHost = {
getPrependNodes: memoize(() => [...prependNodes, ownPrependInput]),
getProjectReferences: () => config.projectReferences,
@@ -580,11 +591,12 @@ namespace ts {
const newBuildInfo = JSON.parse(text) as BuildInfo;
newBuildInfo.program = buildInfo.program;
// Update sourceFileInfo
const { js, dts } = buildInfo.bundle!;
const { js, dts, sourceFiles } = buildInfo.bundle!;
newBuildInfo.bundle!.js!.sources = js!.sources;
if (dts) {
newBuildInfo.bundle!.dts!.sources = dts.sources;
}
newBuildInfo.bundle!.sourceFiles = sourceFiles;
outputFiles.push({ name, text: getBuildInfoText(newBuildInfo), writeByteOrderMark });
return;
case declarationFilePath:
@@ -816,10 +828,6 @@ namespace ts {
bundleFileInfo.sources.helpers = helpers;
}
}
else {
// Ensure we have text section
Debug.assert(!!bundleFileInfo.sections.length && isBundleFileTextLike(last(bundleFileInfo.sections)));
}
}
reset();
@@ -3405,7 +3413,8 @@ namespace ts {
function getPrologueDirectivesFromBundledSourceFiles(bundle: Bundle): SourceFilePrologueInfo[] | undefined {
const seenPrologueDirectives = createMap<true>();
let prologues: SourceFilePrologueInfo[] | undefined;
for (const sourceFile of bundle.sourceFiles) {
for (let index = 0; index < bundle.sourceFiles.length; index++) {
const sourceFile = bundle.sourceFiles[index];
let directives: SourceFilePrologueDirective[] | undefined;
let end = 0;
for (const statement of sourceFile.statements) {
@@ -3423,7 +3432,7 @@ namespace ts {
});
end = end < statement.end ? statement.end : end;
}
if (directives) (prologues || (prologues = [])).push({ file: sourceFile.fileName, text: sourceFile.text.substring(0, end), directives });
if (directives) (prologues || (prologues = [])).push({ file: index, text: sourceFile.text.substring(0, end), directives });
}
return prologues;
}
+2 -1
View File
@@ -5574,7 +5574,7 @@ namespace ts {
/*@internal*/
export interface SourceFilePrologueInfo {
file: string;
file: number;
text: string;
directives: SourceFilePrologueDirective[];
}
@@ -5597,6 +5597,7 @@ namespace ts {
js?: BundleFileInfo;
dts?: BundleFileInfo;
commonSourceDirectory: string;
sourceFiles: ReadonlyArray<string>;
}
/* @internal */
@@ -779,5 +779,10 @@ ${internal} enum internalEnum { a, b, c }`);
modifyFs: fs => stripInternalWithDependentOrder(fs, /*removeCommentsDisabled*/ true, /*jsDocStyle*/ true),
dependOrdered: true,
});
verifyOutFileScenario({
scenario: "when source files are empty in the own file",
modifyFs: fs => fs.writeFileSync(sources[project.third][source.ts][part.one], "", "utf8")
});
});
}
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -385,6 +390,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -504,6 +509,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -424,6 +429,9 @@ function forfirstfirst_PART1Rest() { }
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -723,6 +728,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -504,6 +509,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -30,7 +35,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -449,6 +454,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -525,7 +533,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "\"myPrologue3\";\n\"myPrologue\";",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -24,7 +29,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -415,6 +420,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -485,7 +493,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -393,6 +398,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -385,6 +390,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -24,7 +29,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -415,6 +420,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -473,7 +481,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -385,6 +390,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2874,6 +2878,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3264,6 +3273,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -392,6 +397,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -3104,6 +3108,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3500,6 +3509,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -398,6 +403,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2874,6 +2878,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3264,6 +3273,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2974,6 +2978,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3364,6 +3373,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -392,6 +397,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -392,6 +397,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -453,6 +458,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -385,6 +390,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -385,6 +390,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -0,0 +1,977 @@
//// [/src/first/bin/first-output.d.ts]
interface TheFirst {
none: any;
}
declare const s = "Hola, world";
interface NoJsForHereEither {
none: any;
}
declare function f(): string;
//# sourceMappingURL=first-output.d.ts.map
//// [/src/first/bin/first-output.d.ts.map]
{"version":3,"file":"first-output.d.ts","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;AERD,iBAAS,CAAC,WAET"}
//// [/src/first/bin/first-output.d.ts.map.baseline.txt]
===================================================================
JsFile: first-output.d.ts
mapUrl: first-output.d.ts.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.d.ts
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>interface TheFirst {
1 >
2 >^^^^^^^^^^
3 > ^^^^^^^^
1 >
2 >interface
3 > TheFirst
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0)
3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0)
---
>>> none: any;
1 >^^^^
2 > ^^^^
3 > ^^
4 > ^^^
5 > ^
1 > {
>
2 > none
3 > :
4 > any
5 > ;
1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0)
2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0)
3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0)
4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>}
1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0)
---
>>>declare const s = "Hola, world";
1->
2 >^^^^^^^^
3 > ^^^^^^
4 > ^
5 > ^^^^^^^^^^^^^^^^
6 > ^
1->
>
>
2 >
3 > const
4 > s
5 > = "Hola, world"
6 > ;
1->Emitted(4, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0)
3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0)
4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0)
5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0)
6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0)
---
>>>interface NoJsForHereEither {
1 >
2 >^^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^
1 >
>
>
2 >interface
3 > NoJsForHereEither
1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0)
2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0)
3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0)
---
>>> none: any;
1 >^^^^
2 > ^^^^
3 > ^^
4 > ^^^
5 > ^
1 > {
>
2 > none
3 > :
4 > any
5 > ;
1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0)
2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0)
3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0)
4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0)
5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>}
1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.d.ts
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>declare function f(): string;
1->
2 >^^^^^^^^^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^^^^^^^^^^^->
1->
2 >function
3 > f
4 > () {
> return "JS does hoists";
> }
1->Emitted(8, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(8, 18) Source(1, 10) + SourceIndex(2)
3 >Emitted(8, 19) Source(1, 11) + SourceIndex(2)
4 >Emitted(8, 30) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.d.ts.map
//// [/src/first/bin/first-output.js]
var s = "Hola, world";
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hola, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hola, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0)
6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(3, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(5, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hola, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
//// [/src/third/thirdjs/output/third-output.d.ts]
interface TheFirst {
none: any;
}
declare const s = "Hola, world";
interface NoJsForHereEither {
none: any;
}
declare function f(): string;
//# sourceMappingURL=first-output.d.ts.map
declare namespace N {
}
declare namespace N {
}
declare class C {
doSomething(): void;
}
//# sourceMappingURL=second-output.d.ts.map
//# sourceMappingURL=third-output.d.ts.map
//// [/src/third/thirdjs/output/third-output.d.ts.map]
{"version":3,"file":"third-output.d.ts","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAAA,UAAU,QAAQ;IACd,IAAI,EAAE,GAAG,CAAC;CACb;AAED,QAAA,MAAM,CAAC,gBAAgB,CAAC;AAExB,UAAU,iBAAiB;IACvB,IAAI,EAAE,GAAG,CAAC;CACb;ACRD,iBAAS,CAAC,WAET;;ACFD,kBAAU,CAAC,CAAC;CAEX;AAED,kBAAU,CAAC,CAAC;CAMX;ACVD,cAAM,CAAC;IACH,WAAW;CAGd"}
//// [/src/third/thirdjs/output/third-output.d.ts.map.baseline.txt]
===================================================================
JsFile: third-output.d.ts
mapUrl: third-output.d.ts.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.d.ts
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>interface TheFirst {
1 >
2 >^^^^^^^^^^
3 > ^^^^^^^^
1 >
2 >interface
3 > TheFirst
1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0)
2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0)
3 >Emitted(1, 19) Source(1, 19) + SourceIndex(0)
---
>>> none: any;
1 >^^^^
2 > ^^^^
3 > ^^
4 > ^^^
5 > ^
1 > {
>
2 > none
3 > :
4 > any
5 > ;
1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0)
2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0)
3 >Emitted(2, 11) Source(2, 11) + SourceIndex(0)
4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0)
5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>}
1 >Emitted(3, 2) Source(3, 2) + SourceIndex(0)
---
>>>declare const s = "Hola, world";
1->
2 >^^^^^^^^
3 > ^^^^^^
4 > ^
5 > ^^^^^^^^^^^^^^^^
6 > ^
1->
>
>
2 >
3 > const
4 > s
5 > = "Hola, world"
6 > ;
1->Emitted(4, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(4, 9) Source(5, 1) + SourceIndex(0)
3 >Emitted(4, 15) Source(5, 7) + SourceIndex(0)
4 >Emitted(4, 16) Source(5, 8) + SourceIndex(0)
5 >Emitted(4, 32) Source(5, 24) + SourceIndex(0)
6 >Emitted(4, 33) Source(5, 25) + SourceIndex(0)
---
>>>interface NoJsForHereEither {
1 >
2 >^^^^^^^^^^
3 > ^^^^^^^^^^^^^^^^^
1 >
>
>
2 >interface
3 > NoJsForHereEither
1 >Emitted(5, 1) Source(7, 1) + SourceIndex(0)
2 >Emitted(5, 11) Source(7, 11) + SourceIndex(0)
3 >Emitted(5, 28) Source(7, 28) + SourceIndex(0)
---
>>> none: any;
1 >^^^^
2 > ^^^^
3 > ^^
4 > ^^^
5 > ^
1 > {
>
2 > none
3 > :
4 > any
5 > ;
1 >Emitted(6, 5) Source(8, 5) + SourceIndex(0)
2 >Emitted(6, 9) Source(8, 9) + SourceIndex(0)
3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0)
4 >Emitted(6, 14) Source(8, 14) + SourceIndex(0)
5 >Emitted(6, 15) Source(8, 15) + SourceIndex(0)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>}
1 >Emitted(7, 2) Source(9, 2) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.d.ts
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>declare function f(): string;
1->
2 >^^^^^^^^^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^
5 > ^^^^^^^^^^^^^^->
1->
2 >function
3 > f
4 > () {
> return "JS does hoists";
> }
1->Emitted(8, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(8, 18) Source(1, 10) + SourceIndex(1)
3 >Emitted(8, 19) Source(1, 11) + SourceIndex(1)
4 >Emitted(8, 30) Source(3, 2) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.d.ts
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.d.ts.map
>>>declare namespace N {
1->
2 >^^^^^^^^^^^^^^^^^^
3 > ^
4 > ^
1->
2 >namespace
3 > N
4 >
1->Emitted(10, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(10, 19) Source(1, 11) + SourceIndex(2)
3 >Emitted(10, 20) Source(1, 12) + SourceIndex(2)
4 >Emitted(10, 21) Source(1, 13) + SourceIndex(2)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^->
1 >{
> // Comment text
>}
1 >Emitted(11, 2) Source(3, 2) + SourceIndex(2)
---
>>>declare namespace N {
1->
2 >^^^^^^^^^^^^^^^^^^
3 > ^
4 > ^
1->
>
>
2 >namespace
3 > N
4 >
1->Emitted(12, 1) Source(5, 1) + SourceIndex(2)
2 >Emitted(12, 19) Source(5, 11) + SourceIndex(2)
3 >Emitted(12, 20) Source(5, 12) + SourceIndex(2)
4 >Emitted(12, 21) Source(5, 13) + SourceIndex(2)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^->
1 >{
> function f() {
> console.log('testing');
> }
>
> f();
>}
1 >Emitted(13, 2) Source(11, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.d.ts
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>declare class C {
1->
2 >^^^^^^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^->
1->
2 >class
3 > C
1->Emitted(14, 1) Source(1, 1) + SourceIndex(3)
2 >Emitted(14, 15) Source(1, 7) + SourceIndex(3)
3 >Emitted(14, 16) Source(1, 8) + SourceIndex(3)
---
>>> doSomething(): void;
1->^^^^
2 > ^^^^^^^^^^^
1-> {
>
2 > doSomething
1->Emitted(15, 5) Source(2, 5) + SourceIndex(3)
2 >Emitted(15, 16) Source(2, 16) + SourceIndex(3)
---
>>>}
1 >^
2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >() {
> console.log("something got done");
> }
>}
1 >Emitted(16, 2) Source(5, 2) + SourceIndex(3)
---
>>>//# sourceMappingURL=second-output.d.ts.map
>>>//# sourceMappingURL=third-output.d.ts.map
//// [/src/third/thirdjs/output/third-output.js]
var s = "Hola, world";
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,aAAa,CAAC;AAMxB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACVf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hola, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hola, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 22) Source(5, 24) + SourceIndex(0)
6 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(3, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(3, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(3, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(3, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(3, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(3, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(3, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(3, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(3, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(4, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(4, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(4, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(5, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(5, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(5, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(5, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(6, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(6, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(8, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(8, 5) Source(5, 11) + SourceIndex(3)
3 >Emitted(8, 6) Source(5, 12) + SourceIndex(3)
4 >Emitted(8, 7) Source(11, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(9, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(9, 12) Source(5, 11) + SourceIndex(3)
3 >Emitted(9, 13) Source(5, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(10, 5) Source(6, 5) + SourceIndex(3)
2 >Emitted(10, 14) Source(6, 14) + SourceIndex(3)
3 >Emitted(10, 15) Source(6, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(11, 9) Source(7, 9) + SourceIndex(3)
2 >Emitted(11, 16) Source(7, 16) + SourceIndex(3)
3 >Emitted(11, 17) Source(7, 17) + SourceIndex(3)
4 >Emitted(11, 20) Source(7, 20) + SourceIndex(3)
5 >Emitted(11, 21) Source(7, 21) + SourceIndex(3)
6 >Emitted(11, 30) Source(7, 30) + SourceIndex(3)
7 >Emitted(11, 31) Source(7, 31) + SourceIndex(3)
8 >Emitted(11, 32) Source(7, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(12, 5) Source(8, 5) + SourceIndex(3)
2 >Emitted(12, 6) Source(8, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(13, 5) Source(10, 5) + SourceIndex(3)
2 >Emitted(13, 6) Source(10, 6) + SourceIndex(3)
3 >Emitted(13, 8) Source(10, 8) + SourceIndex(3)
4 >Emitted(13, 9) Source(10, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(14, 1) Source(11, 1) + SourceIndex(3)
2 >Emitted(14, 2) Source(11, 2) + SourceIndex(3)
3 >Emitted(14, 4) Source(5, 11) + SourceIndex(3)
4 >Emitted(14, 5) Source(5, 12) + SourceIndex(3)
5 >Emitted(14, 10) Source(5, 11) + SourceIndex(3)
6 >Emitted(14, 11) Source(5, 12) + SourceIndex(3)
7 >Emitted(14, 19) Source(11, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(15, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(16, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(17, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(17, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(18, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(18, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(18, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(19, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(19, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(19, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(19, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(19, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(19, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(19, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(19, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(20, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(20, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(21, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(21, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(22, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(22, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(22, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(22, 6) Source(5, 2) + SourceIndex(4)
---
>>>//# sourceMappingURL=second-output.js.map
>>>//# sourceMappingURL=third-output.js.map
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -271,6 +276,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -369,6 +374,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -291,6 +296,9 @@ function forfirstfirst_PART1Rest() { }console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -557,6 +562,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -369,6 +374,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -30,7 +35,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -334,6 +339,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -410,7 +418,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "\"myPrologue3\";\n\"myPrologue\";",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -24,7 +29,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -301,6 +306,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -371,7 +379,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -276,6 +281,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -271,6 +276,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -24,7 +29,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -301,6 +306,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -359,7 +367,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -271,6 +276,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2057,6 +2061,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -2333,6 +2342,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -278,6 +283,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2157,6 +2161,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -2433,6 +2442,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -278,6 +283,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2057,6 +2061,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -2333,6 +2342,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2157,6 +2161,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -2433,6 +2442,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -278,6 +283,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -278,6 +283,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -311,6 +316,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -271,6 +276,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -271,6 +276,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -0,0 +1,906 @@
//// [/src/first/bin/.tsbuildinfo]
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
"pos": 0,
"end": 127,
"kind": "text"
},
{
"pos": 127,
"end": 167,
"kind": "sourceMapUrl"
}
]
},
"dts": {
"sections": [
{
"pos": 0,
"end": 157,
"kind": "text"
},
{
"pos": 157,
"end": 199,
"kind": "sourceMapUrl"
}
]
}
}
}
//// [/src/first/bin/.tsbuildinfo.baseline.txt]
======================================================================
File:: /src/first/bin/first-output.js
----------------------------------------------------------------------
text: (0-127)
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
----------------------------------------------------------------------
sourceMapUrl: (127-167)
//# sourceMappingURL=first-output.js.map
======================================================================
======================================================================
File:: /src/first/bin/first-output.d.ts
----------------------------------------------------------------------
text: (0-157)
interface TheFirst {
none: any;
}
declare const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
declare function f(): string;
----------------------------------------------------------------------
sourceMapUrl: (157-199)
//# sourceMappingURL=first-output.d.ts.map
======================================================================
//// [/src/first/bin/first-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(4, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(6, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/.tsbuildinfo]
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
"pos": 0,
"end": 167,
"kind": "prepend",
"data": "/src/first/bin/first-output.js",
"texts": [
{
"pos": 0,
"end": 127,
"kind": "text"
},
{
"pos": 127,
"end": 167,
"kind": "sourceMapUrl"
}
]
},
{
"pos": 169,
"end": 495,
"kind": "prepend",
"data": "/src/2/second-output.js",
"texts": [
{
"pos": 169,
"end": 454,
"kind": "text"
},
{
"pos": 454,
"end": 495,
"kind": "sourceMapUrl"
}
]
},
{
"pos": 497,
"end": 537,
"kind": "sourceMapUrl"
}
]
},
"dts": {
"sections": [
{
"pos": 0,
"end": 199,
"kind": "prepend",
"data": "/src/first/bin/first-output.d.ts",
"texts": [
{
"pos": 0,
"end": 157,
"kind": "text"
},
{
"pos": 157,
"end": 199,
"kind": "sourceMapUrl"
}
]
},
{
"pos": 201,
"end": 344,
"kind": "prepend",
"data": "/src/2/second-output.d.ts",
"texts": [
{
"pos": 201,
"end": 301,
"kind": "text"
},
{
"pos": 301,
"end": 344,
"kind": "sourceMapUrl"
}
]
},
{
"pos": 346,
"end": 388,
"kind": "sourceMapUrl"
}
]
}
}
}
//// [/src/third/thirdjs/output/.tsbuildinfo.baseline.txt]
======================================================================
File:: /src/third/thirdjs/output/third-output.js
----------------------------------------------------------------------
prepend: (0-167):: /src/first/bin/first-output.js texts:: 2
>>--------------------------------------------------------------------
text: (0-127)
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
>>--------------------------------------------------------------------
sourceMapUrl: (127-167)
//# sourceMappingURL=first-output.js.map
----------------------------------------------------------------------
prepend: (169-495):: /src/2/second-output.js texts:: 2
>>--------------------------------------------------------------------
text: (169-454)
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
>>--------------------------------------------------------------------
sourceMapUrl: (454-495)
//# sourceMappingURL=second-output.js.map
----------------------------------------------------------------------
sourceMapUrl: (497-537)
//# sourceMappingURL=third-output.js.map
======================================================================
======================================================================
File:: /src/third/thirdjs/output/third-output.d.ts
----------------------------------------------------------------------
prepend: (0-199):: /src/first/bin/first-output.d.ts texts:: 2
>>--------------------------------------------------------------------
text: (0-157)
interface TheFirst {
none: any;
}
declare const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
declare function f(): string;
>>--------------------------------------------------------------------
sourceMapUrl: (157-199)
//# sourceMappingURL=first-output.d.ts.map
----------------------------------------------------------------------
prepend: (201-344):: /src/2/second-output.d.ts texts:: 2
>>--------------------------------------------------------------------
text: (201-301)
declare namespace N {
}
declare namespace N {
}
declare class C {
doSomething(): void;
}
>>--------------------------------------------------------------------
sourceMapUrl: (301-344)
//# sourceMappingURL=second-output.d.ts.map
----------------------------------------------------------------------
sourceMapUrl: (346-388)
//# sourceMappingURL=third-output.d.ts.map
======================================================================
//// [/src/third/thirdjs/output/third-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(4, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(6, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(9, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3)
3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3)
4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(10, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3)
3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(11, 5) Source(6, 5) + SourceIndex(3)
2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3)
3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(12, 9) Source(7, 9) + SourceIndex(3)
2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3)
3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3)
4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3)
5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3)
6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3)
7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3)
8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3)
2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(14, 5) Source(10, 5) + SourceIndex(3)
2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3)
3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3)
4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(15, 1) Source(11, 1) + SourceIndex(3)
2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3)
3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3)
4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3)
5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3)
6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3)
7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(16, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(17, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(18, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(18, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(19, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(19, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(19, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(20, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(20, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(20, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(20, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(20, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(20, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(20, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(20, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(21, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(21, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(22, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(22, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(23, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(23, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(23, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(23, 6) Source(5, 2) + SourceIndex(4)
---
>>>//# sourceMappingURL=second-output.js.map
>>>//# sourceMappingURL=third-output.js.map
@@ -0,0 +1,648 @@
//// [/src/first/bin/first-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
//// [/src/first/bin/first-output.js.map]
{"version":3,"file":"first-output.js","sourceRoot":"","sources":["../first_PART1.ts","../first_part2.ts","../first_part3.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC"}
//// [/src/first/bin/first-output.js.map.baseline.txt]
===================================================================
JsFile: first-output.js
mapUrl: first-output.js.map
sourceRoot:
sources: ../first_PART1.ts,../first_part2.ts,../first_part3.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(4, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/first/bin/first-output.js
sourceFile:../first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(6, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2)
---
>>>//# sourceMappingURL=first-output.js.map
//// [/src/first/first_PART1.ts]
interface TheFirst {
none: any;
}
const s = "Hello, world";
interface NoJsForHereEither {
none: any;
}
console.log(s);
console.log(s);
//// [/src/third/thirdjs/output/third-output.js]
var s = "Hello, world";
console.log(s);
console.log(s);
console.log(f());
function f() {
return "JS does hoists";
}
//# sourceMappingURL=first-output.js.map
var N;
(function (N) {
function f() {
console.log('testing');
}
f();
})(N || (N = {}));
var C = (function () {
function C() {
}
C.prototype.doSomething = function () {
console.log("something got done");
};
return C;
}());
//# sourceMappingURL=second-output.js.map
//# sourceMappingURL=third-output.js.map
//// [/src/third/thirdjs/output/third-output.js.map]
{"version":3,"file":"third-output.js","sourceRoot":"","sources":["../../../first/first_PART1.ts","../../../first/first_part2.ts","../../../first/first_part3.ts","../../../second/second_part1.ts","../../../second/second_part2.ts","../../third_part1.ts"],"names":[],"mappings":"AAIA,IAAM,CAAC,GAAG,cAAc,CAAC;AAMzB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACf,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACXf,OAAO,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;ACAjB,SAAS,CAAC;IACN,OAAO,gBAAgB,CAAC;AAC5B,CAAC;;ACED,IAAU,CAAC,CAMV;AAND,WAAU,CAAC;IACP,SAAS,CAAC;QACN,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC3B,CAAC;IAED,CAAC,EAAE,CAAC;AACR,CAAC,EANS,CAAC,KAAD,CAAC,QAMV;ACVD;IAAA;IAIA,CAAC;IAHG,uBAAW,GAAX;QACI,OAAO,CAAC,GAAG,CAAC,oBAAoB,CAAC,CAAC;IACtC,CAAC;IACL,QAAC;AAAD,CAAC,AAJD,IAIC"}
//// [/src/third/thirdjs/output/third-output.js.map.baseline.txt]
===================================================================
JsFile: third-output.js
mapUrl: third-output.js.map
sourceRoot:
sources: ../../../first/first_PART1.ts,../../../first/first_part2.ts,../../../first/first_part3.ts,../../../second/second_part1.ts,../../../second/second_part2.ts,../../third_part1.ts
===================================================================
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_PART1.ts
-------------------------------------------------------------------
>>>var s = "Hello, world";
1 >
2 >^^^^
3 > ^
4 > ^^^
5 > ^^^^^^^^^^^^^^
6 > ^
1 >interface TheFirst {
> none: any;
>}
>
>
2 >const
3 > s
4 > =
5 > "Hello, world"
6 > ;
1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0)
2 >Emitted(1, 5) Source(5, 7) + SourceIndex(0)
3 >Emitted(1, 6) Source(5, 8) + SourceIndex(0)
4 >Emitted(1, 9) Source(5, 11) + SourceIndex(0)
5 >Emitted(1, 23) Source(5, 25) + SourceIndex(0)
6 >Emitted(1, 24) Source(5, 26) + SourceIndex(0)
---
>>>console.log(s);
1 >
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^->
1 >
>
>interface NoJsForHereEither {
> none: any;
>}
>
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0)
2 >Emitted(2, 8) Source(11, 8) + SourceIndex(0)
3 >Emitted(2, 9) Source(11, 9) + SourceIndex(0)
4 >Emitted(2, 12) Source(11, 12) + SourceIndex(0)
5 >Emitted(2, 13) Source(11, 13) + SourceIndex(0)
6 >Emitted(2, 14) Source(11, 14) + SourceIndex(0)
7 >Emitted(2, 15) Source(11, 15) + SourceIndex(0)
8 >Emitted(2, 16) Source(11, 16) + SourceIndex(0)
---
>>>console.log(s);
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^
8 > ^
9 > ^^^->
1->
>
2 >console
3 > .
4 > log
5 > (
6 > s
7 > )
8 > ;
1->Emitted(3, 1) Source(12, 1) + SourceIndex(0)
2 >Emitted(3, 8) Source(12, 8) + SourceIndex(0)
3 >Emitted(3, 9) Source(12, 9) + SourceIndex(0)
4 >Emitted(3, 12) Source(12, 12) + SourceIndex(0)
5 >Emitted(3, 13) Source(12, 13) + SourceIndex(0)
6 >Emitted(3, 14) Source(12, 14) + SourceIndex(0)
7 >Emitted(3, 15) Source(12, 15) + SourceIndex(0)
8 >Emitted(3, 16) Source(12, 16) + SourceIndex(0)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part2.ts
-------------------------------------------------------------------
>>>console.log(f());
1->
2 >^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^
7 > ^^
8 > ^
9 > ^
1->
2 >console
3 > .
4 > log
5 > (
6 > f
7 > ()
8 > )
9 > ;
1->Emitted(4, 1) Source(1, 1) + SourceIndex(1)
2 >Emitted(4, 8) Source(1, 8) + SourceIndex(1)
3 >Emitted(4, 9) Source(1, 9) + SourceIndex(1)
4 >Emitted(4, 12) Source(1, 12) + SourceIndex(1)
5 >Emitted(4, 13) Source(1, 13) + SourceIndex(1)
6 >Emitted(4, 14) Source(1, 14) + SourceIndex(1)
7 >Emitted(4, 16) Source(1, 16) + SourceIndex(1)
8 >Emitted(4, 17) Source(1, 17) + SourceIndex(1)
9 >Emitted(4, 18) Source(1, 18) + SourceIndex(1)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../first/first_part3.ts
-------------------------------------------------------------------
>>>function f() {
1 >
2 >^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^^->
1 >
2 >function
3 > f
1 >Emitted(5, 1) Source(1, 1) + SourceIndex(2)
2 >Emitted(5, 10) Source(1, 10) + SourceIndex(2)
3 >Emitted(5, 11) Source(1, 11) + SourceIndex(2)
---
>>> return "JS does hoists";
1->^^^^
2 > ^^^^^^^
3 > ^^^^^^^^^^^^^^^^
4 > ^
1->() {
>
2 > return
3 > "JS does hoists"
4 > ;
1->Emitted(6, 5) Source(2, 5) + SourceIndex(2)
2 >Emitted(6, 12) Source(2, 12) + SourceIndex(2)
3 >Emitted(6, 28) Source(2, 28) + SourceIndex(2)
4 >Emitted(6, 29) Source(2, 29) + SourceIndex(2)
---
>>>}
1 >
2 >^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
>
2 >}
1 >Emitted(7, 1) Source(3, 1) + SourceIndex(2)
2 >Emitted(7, 2) Source(3, 2) + SourceIndex(2)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part1.ts
-------------------------------------------------------------------
>>>//# sourceMappingURL=first-output.js.map
>>>var N;
1->
2 >^^^^
3 > ^
4 > ^
5 > ^^^^^^^^^^->
1->namespace N {
> // Comment text
>}
>
>
2 >namespace
3 > N
4 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(9, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(9, 5) Source(5, 11) + SourceIndex(3)
3 >Emitted(9, 6) Source(5, 12) + SourceIndex(3)
4 >Emitted(9, 7) Source(11, 2) + SourceIndex(3)
---
>>>(function (N) {
1->
2 >^^^^^^^^^^^
3 > ^
4 > ^^^^^^^->
1->
2 >namespace
3 > N
1->Emitted(10, 1) Source(5, 1) + SourceIndex(3)
2 >Emitted(10, 12) Source(5, 11) + SourceIndex(3)
3 >Emitted(10, 13) Source(5, 12) + SourceIndex(3)
---
>>> function f() {
1->^^^^
2 > ^^^^^^^^^
3 > ^
4 > ^^^^^^^^^^^^^^^^^^->
1-> {
>
2 > function
3 > f
1->Emitted(11, 5) Source(6, 5) + SourceIndex(3)
2 >Emitted(11, 14) Source(6, 14) + SourceIndex(3)
3 >Emitted(11, 15) Source(6, 15) + SourceIndex(3)
---
>>> console.log('testing');
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^
7 > ^
8 > ^
1->() {
>
2 > console
3 > .
4 > log
5 > (
6 > 'testing'
7 > )
8 > ;
1->Emitted(12, 9) Source(7, 9) + SourceIndex(3)
2 >Emitted(12, 16) Source(7, 16) + SourceIndex(3)
3 >Emitted(12, 17) Source(7, 17) + SourceIndex(3)
4 >Emitted(12, 20) Source(7, 20) + SourceIndex(3)
5 >Emitted(12, 21) Source(7, 21) + SourceIndex(3)
6 >Emitted(12, 30) Source(7, 30) + SourceIndex(3)
7 >Emitted(12, 31) Source(7, 31) + SourceIndex(3)
8 >Emitted(12, 32) Source(7, 32) + SourceIndex(3)
---
>>> }
1 >^^^^
2 > ^
3 > ^^^^->
1 >
>
2 > }
1 >Emitted(13, 5) Source(8, 5) + SourceIndex(3)
2 >Emitted(13, 6) Source(8, 6) + SourceIndex(3)
---
>>> f();
1->^^^^
2 > ^
3 > ^^
4 > ^
5 > ^^^^^^^^^^^->
1->
>
>
2 > f
3 > ()
4 > ;
1->Emitted(14, 5) Source(10, 5) + SourceIndex(3)
2 >Emitted(14, 6) Source(10, 6) + SourceIndex(3)
3 >Emitted(14, 8) Source(10, 8) + SourceIndex(3)
4 >Emitted(14, 9) Source(10, 9) + SourceIndex(3)
---
>>>})(N || (N = {}));
1->
2 >^
3 > ^^
4 > ^
5 > ^^^^^
6 > ^
7 > ^^^^^^^^
8 > ^^^^^->
1->
>
2 >}
3 >
4 > N
5 >
6 > N
7 > {
> function f() {
> console.log('testing');
> }
>
> f();
> }
1->Emitted(15, 1) Source(11, 1) + SourceIndex(3)
2 >Emitted(15, 2) Source(11, 2) + SourceIndex(3)
3 >Emitted(15, 4) Source(5, 11) + SourceIndex(3)
4 >Emitted(15, 5) Source(5, 12) + SourceIndex(3)
5 >Emitted(15, 10) Source(5, 11) + SourceIndex(3)
6 >Emitted(15, 11) Source(5, 12) + SourceIndex(3)
7 >Emitted(15, 19) Source(11, 2) + SourceIndex(3)
---
-------------------------------------------------------------------
emittedFile:/src/third/thirdjs/output/third-output.js
sourceFile:../../../second/second_part2.ts
-------------------------------------------------------------------
>>>var C = (function () {
1->
2 >^^^^^^^^^^^^^^^^^^^->
1->
1->Emitted(16, 1) Source(1, 1) + SourceIndex(4)
---
>>> function C() {
1->^^^^
2 > ^^->
1->
1->Emitted(17, 5) Source(1, 1) + SourceIndex(4)
---
>>> }
1->^^^^
2 > ^
3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1->class C {
> doSomething() {
> console.log("something got done");
> }
>
2 > }
1->Emitted(18, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(18, 6) Source(5, 2) + SourceIndex(4)
---
>>> C.prototype.doSomething = function () {
1->^^^^
2 > ^^^^^^^^^^^^^^^^^^^^^^^
3 > ^^^
4 > ^^^^^^^^^^^^^->
1->
2 > doSomething
3 >
1->Emitted(19, 5) Source(2, 5) + SourceIndex(4)
2 >Emitted(19, 28) Source(2, 16) + SourceIndex(4)
3 >Emitted(19, 31) Source(2, 5) + SourceIndex(4)
---
>>> console.log("something got done");
1->^^^^^^^^
2 > ^^^^^^^
3 > ^
4 > ^^^
5 > ^
6 > ^^^^^^^^^^^^^^^^^^^^
7 > ^
8 > ^
1->doSomething() {
>
2 > console
3 > .
4 > log
5 > (
6 > "something got done"
7 > )
8 > ;
1->Emitted(20, 9) Source(3, 9) + SourceIndex(4)
2 >Emitted(20, 16) Source(3, 16) + SourceIndex(4)
3 >Emitted(20, 17) Source(3, 17) + SourceIndex(4)
4 >Emitted(20, 20) Source(3, 20) + SourceIndex(4)
5 >Emitted(20, 21) Source(3, 21) + SourceIndex(4)
6 >Emitted(20, 41) Source(3, 41) + SourceIndex(4)
7 >Emitted(20, 42) Source(3, 42) + SourceIndex(4)
8 >Emitted(20, 43) Source(3, 43) + SourceIndex(4)
---
>>> };
1 >^^^^
2 > ^
3 > ^^^^^^^^^->
1 >
>
2 > }
1 >Emitted(21, 5) Source(4, 5) + SourceIndex(4)
2 >Emitted(21, 6) Source(4, 6) + SourceIndex(4)
---
>>> return C;
1->^^^^
2 > ^^^^^^^^
1->
>
2 > }
1->Emitted(22, 5) Source(5, 1) + SourceIndex(4)
2 >Emitted(22, 13) Source(5, 2) + SourceIndex(4)
---
>>>}());
1 >
2 >^
3 >
4 > ^^^^
5 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^->
1 >
2 >}
3 >
4 > class C {
> doSomething() {
> console.log("something got done");
> }
> }
1 >Emitted(23, 1) Source(5, 1) + SourceIndex(4)
2 >Emitted(23, 2) Source(5, 2) + SourceIndex(4)
3 >Emitted(23, 2) Source(1, 1) + SourceIndex(4)
4 >Emitted(23, 6) Source(5, 2) + SourceIndex(4)
---
>>>//# sourceMappingURL=second-output.js.map
>>>//# sourceMappingURL=third-output.js.map
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -412,6 +417,9 @@ function forfirstfirst_PART1Rest() { }
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -492,6 +497,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -634,6 +639,9 @@ function forfirstfirst_PART1Rest() { }
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -412,6 +417,9 @@ function forfirstfirst_PART1Rest() { }
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -36,7 +41,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue5\"\n\"myPrologue\"",
"directives": [
{
@@ -471,6 +476,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -553,7 +561,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "\"myPrologue3\";\n\"myPrologue\";",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -30,7 +35,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue5\"",
"directives": [
{
@@ -438,6 +443,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -514,7 +522,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -30,7 +35,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -438,6 +443,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -502,7 +510,7 @@ console.log(s);
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -24,7 +29,7 @@
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -418,6 +423,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2687,6 +2691,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3047,6 +3056,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -362,6 +367,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2687,6 +2691,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3047,6 +3056,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2787,6 +2791,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3147,6 +3156,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -362,6 +367,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,11 @@
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -362,6 +367,9 @@ console.log(s);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -464,6 +468,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -833,6 +842,9 @@ sourceFile:../first_part3.ts
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -579,6 +583,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -1097,6 +1106,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -579,6 +583,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -1017,6 +1026,9 @@ const { b, ...rest } = { a: 10, b: 30, yy: 30 };
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -800,6 +804,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -1596,6 +1605,9 @@ secondsecond_part2Spread(...[10, 20, 30]);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -689,6 +693,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -1226,6 +1235,9 @@ secondsecond_part1Spread(...[10, 20, 30]);
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -36,7 +40,7 @@
"sources": {
"prologues": [
{
"file": "/src/second/second_part1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -60,7 +64,7 @@
]
},
{
"file": "/src/second/second_part2.ts",
"file": 1,
"text": "\"myPrologue2\";",
"directives": [
{
@@ -573,6 +577,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -601,7 +610,7 @@ sourceFile:../second/second_part2.ts
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -1084,6 +1093,9 @@ class C {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -1160,7 +1172,7 @@ class C {
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "\"myPrologue3\";\n\"myPrologue\";",
"directives": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -30,7 +34,7 @@
"sources": {
"prologues": [
{
"file": "/src/second/second_part1.ts",
"file": 0,
"text": "\"myPrologue\"",
"directives": [
{
@@ -45,7 +49,7 @@
]
},
{
"file": "/src/second/second_part2.ts",
"file": 1,
"text": "\"myPrologue2\";",
"directives": [
{
@@ -553,6 +557,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -575,7 +584,7 @@ sourceFile:../second/second_part2.ts
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -998,6 +1007,9 @@ class C {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -1068,7 +1080,7 @@ class C {
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -470,6 +474,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -881,6 +890,9 @@ namespace N {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -470,6 +474,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -854,6 +863,9 @@ namespace N {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -24,7 +28,7 @@
"sources": {
"prologues": [
{
"file": "/src/second/second_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -494,6 +498,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -516,7 +525,7 @@ sourceFile:../second/second_part2.ts
"sources": {
"prologues": [
{
"file": "/src/first/first_PART1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -933,6 +942,9 @@ sourceFile:../first_part3.ts
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -991,7 +1003,7 @@ sourceFile:../first_part3.ts
"sources": {
"prologues": [
{
"file": "/src/third/third_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -24,7 +28,7 @@
"sources": {
"prologues": [
{
"file": "/src/second/second_part1.ts",
"file": 0,
"text": "",
"directives": [
{
@@ -494,6 +498,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -881,6 +890,9 @@ sourceFile:../first_part3.ts
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2874,6 +2878,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3322,6 +3331,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2527,6 +2531,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -2956,6 +2965,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -3104,6 +3108,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3580,6 +3589,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2751,6 +2755,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3226,6 +3235,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2874,6 +2878,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3322,6 +3331,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2974,6 +2978,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3444,6 +3453,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2627,6 +2631,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -3096,6 +3105,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -2527,6 +2531,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -2956,6 +2965,9 @@ namespace normalN {
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -529,6 +533,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -994,6 +1003,9 @@ declare class secondsecond_part1 { }
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -529,6 +533,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -917,6 +926,9 @@ declare class secondsecond_part1 { }
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{
@@ -2,6 +2,10 @@
{
"bundle": {
"commonSourceDirectory": "/src/second/",
"sourceFiles": [
"/src/second/second_part1.ts",
"/src/second/second_part2.ts"
],
"js": {
"sections": [
{
@@ -464,6 +468,11 @@ sourceFile:../second/second_part2.ts
{
"bundle": {
"commonSourceDirectory": "/src/first/",
"sourceFiles": [
"/src/first/first_PART1.ts",
"/src/first/first_part2.ts",
"/src/first/first_part3.ts"
],
"js": {
"sections": [
{
@@ -833,6 +842,9 @@ sourceFile:../first_part3.ts
{
"bundle": {
"commonSourceDirectory": "/src/third/",
"sourceFiles": [
"/src/third/third_part1.ts"
],
"js": {
"sections": [
{