diff --git a/test/baselines/basic/2.0/js/other-3.js b/test/baselines/basic/2.0/js/other-3.js index ff937f44..206eb383 100644 --- a/test/baselines/basic/2.0/js/other-3.js +++ b/test/baselines/basic/2.0/js/other-3.js @@ -1,5 +1,6 @@ define(["require", "exports"], function (require, exports) { "use strict"; + exports.__esModule = true; var Hello = (function () { function Hello() { } diff --git a/test/baselines/basic/2.0/js/other-3.js.map b/test/baselines/basic/2.0/js/other-3.js.map index f5a1a299..3f884110 100644 --- a/test/baselines/basic/2.0/js/other-3.js.map +++ b/test/baselines/basic/2.0/js/other-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["../other-3.ts"],"names":[],"mappings":";;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,aAAK,QAEjB,CAAA","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../basic/"} \ No newline at end of file +{"version":3,"sources":["../other-3.ts"],"names":[],"mappings":";;;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,sBAAK","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../basic/"} \ No newline at end of file diff --git a/test/baselines/basic/2.0/js/test-3.js b/test/baselines/basic/2.0/js/test-3.js index c081cff6..44d147aa 100644 --- a/test/baselines/basic/2.0/js/test-3.js +++ b/test/baselines/basic/2.0/js/test-3.js @@ -1,5 +1,6 @@ -define(["require", "exports", './other-3'], function (require, exports, other) { +define(["require", "exports", "./other-3"], function (require, exports, other) { "use strict"; + exports.__esModule = true; var a = new other.Hello(); console.log(a.value); }); diff --git a/test/baselines/basic/2.0/js/test-3.js.map b/test/baselines/basic/2.0/js/test-3.js.map index 0c660b19..ee89706f 100644 --- a/test/baselines/basic/2.0/js/test-3.js.map +++ b/test/baselines/basic/2.0/js/test-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["../test-3.ts"],"names":[],"mappings":";;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../basic/"} \ No newline at end of file +{"version":3,"sources":["../test-3.ts"],"names":[],"mappings":";;;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../basic/"} \ No newline at end of file diff --git a/test/baselines/basic/dev/js/other-3.js b/test/baselines/basic/dev/js/other-3.js index ff937f44..206eb383 100644 --- a/test/baselines/basic/dev/js/other-3.js +++ b/test/baselines/basic/dev/js/other-3.js @@ -1,5 +1,6 @@ define(["require", "exports"], function (require, exports) { "use strict"; + exports.__esModule = true; var Hello = (function () { function Hello() { } diff --git a/test/baselines/basic/dev/js/other-3.js.map b/test/baselines/basic/dev/js/other-3.js.map index f5a1a299..3f884110 100644 --- a/test/baselines/basic/dev/js/other-3.js.map +++ b/test/baselines/basic/dev/js/other-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["../other-3.ts"],"names":[],"mappings":";;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,aAAK,QAEjB,CAAA","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../basic/"} \ No newline at end of file +{"version":3,"sources":["../other-3.ts"],"names":[],"mappings":";;;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,sBAAK","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../basic/"} \ No newline at end of file diff --git a/test/baselines/basic/dev/js/test-3.js b/test/baselines/basic/dev/js/test-3.js index c081cff6..44d147aa 100644 --- a/test/baselines/basic/dev/js/test-3.js +++ b/test/baselines/basic/dev/js/test-3.js @@ -1,5 +1,6 @@ -define(["require", "exports", './other-3'], function (require, exports, other) { +define(["require", "exports", "./other-3"], function (require, exports, other) { "use strict"; + exports.__esModule = true; var a = new other.Hello(); console.log(a.value); }); diff --git a/test/baselines/basic/dev/js/test-3.js.map b/test/baselines/basic/dev/js/test-3.js.map index 0c660b19..ee89706f 100644 --- a/test/baselines/basic/dev/js/test-3.js.map +++ b/test/baselines/basic/dev/js/test-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["../test-3.ts"],"names":[],"mappings":";;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../basic/"} \ No newline at end of file +{"version":3,"sources":["../test-3.ts"],"names":[],"mappings":";;;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../basic/"} \ No newline at end of file diff --git a/test/baselines/externalResolve/2.0/js/test-2.js b/test/baselines/externalResolve/2.0/js/test-2.js index 000d0f38..8d529f1f 100644 --- a/test/baselines/externalResolve/2.0/js/test-2.js +++ b/test/baselines/externalResolve/2.0/js/test-2.js @@ -1,7 +1,8 @@ "use strict"; +exports.__esModule = true; /// -var other = require('./other-2'); -var someModule = require('someModule'); +var other = require("./other-2"); +var someModule = require("someModule"); var a = new other.Hello(); console.log(a.value); console.log(someModule); diff --git a/test/baselines/externalResolve/2.0/js/test-2.js.map b/test/baselines/externalResolve/2.0/js/test-2.js.map index 15946e34..f308550f 100644 --- a/test/baselines/externalResolve/2.0/js/test-2.js.map +++ b/test/baselines/externalResolve/2.0/js/test-2.js.map @@ -1 +1 @@ -{"version":3,"sources":["test-2.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,IAAO,KAAK,WAAW,WAAW,CAAC,CAAC;AACpC,IAAO,UAAU,WAAW,YAAY,CAAC,CAAC;AAE1C,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;AAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC","file":"test-2.js","sourcesContent":["/// \nimport other = require('./other-2');\nimport someModule = require('someModule');\n\nvar a = new other.Hello();\nconsole.log(a.value);\n\nconsole.log(someModule);\n"],"sourceRoot":"../../../../externalResolve/"} \ No newline at end of file +{"version":3,"sources":["test-2.ts"],"names":[],"mappings":";;AAAA,uCAAuC;AACvC,iCAAoC;AACpC,uCAA0C;AAE1C,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;AAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC","file":"test-2.js","sourcesContent":["/// \nimport other = require('./other-2');\nimport someModule = require('someModule');\n\nvar a = new other.Hello();\nconsole.log(a.value);\n\nconsole.log(someModule);\n"],"sourceRoot":"../../../../externalResolve/"} \ No newline at end of file diff --git a/test/baselines/externalResolve/dev/js/test-2.js b/test/baselines/externalResolve/dev/js/test-2.js index 000d0f38..8d529f1f 100644 --- a/test/baselines/externalResolve/dev/js/test-2.js +++ b/test/baselines/externalResolve/dev/js/test-2.js @@ -1,7 +1,8 @@ "use strict"; +exports.__esModule = true; /// -var other = require('./other-2'); -var someModule = require('someModule'); +var other = require("./other-2"); +var someModule = require("someModule"); var a = new other.Hello(); console.log(a.value); console.log(someModule); diff --git a/test/baselines/externalResolve/dev/js/test-2.js.map b/test/baselines/externalResolve/dev/js/test-2.js.map index 15946e34..f308550f 100644 --- a/test/baselines/externalResolve/dev/js/test-2.js.map +++ b/test/baselines/externalResolve/dev/js/test-2.js.map @@ -1 +1 @@ -{"version":3,"sources":["test-2.ts"],"names":[],"mappings":";AAAA,uCAAuC;AACvC,IAAO,KAAK,WAAW,WAAW,CAAC,CAAC;AACpC,IAAO,UAAU,WAAW,YAAY,CAAC,CAAC;AAE1C,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;AAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC","file":"test-2.js","sourcesContent":["/// \nimport other = require('./other-2');\nimport someModule = require('someModule');\n\nvar a = new other.Hello();\nconsole.log(a.value);\n\nconsole.log(someModule);\n"],"sourceRoot":"../../../../externalResolve/"} \ No newline at end of file +{"version":3,"sources":["test-2.ts"],"names":[],"mappings":";;AAAA,uCAAuC;AACvC,iCAAoC;AACpC,uCAA0C;AAE1C,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;AAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC","file":"test-2.js","sourcesContent":["/// \nimport other = require('./other-2');\nimport someModule = require('someModule');\n\nvar a = new other.Hello();\nconsole.log(a.value);\n\nconsole.log(someModule);\n"],"sourceRoot":"../../../../externalResolve/"} \ No newline at end of file diff --git a/test/baselines/isolatedModules/2.0/js/other-3.js b/test/baselines/isolatedModules/2.0/js/other-3.js index 9265c81e..f3673e57 100644 --- a/test/baselines/isolatedModules/2.0/js/other-3.js +++ b/test/baselines/isolatedModules/2.0/js/other-3.js @@ -1,5 +1,6 @@ define(["require", "exports"], function (require, exports) { "use strict"; + exports.__esModule = true; var Hello = (function () { function Hello() { } diff --git a/test/baselines/isolatedModules/2.0/js/other-3.js.map b/test/baselines/isolatedModules/2.0/js/other-3.js.map index 49cbfeb1..e828029d 100644 --- a/test/baselines/isolatedModules/2.0/js/other-3.js.map +++ b/test/baselines/isolatedModules/2.0/js/other-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["other-3.ts"],"names":[],"mappings":";;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,aAAK,QAEjB,CAAA","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file +{"version":3,"sources":["other-3.ts"],"names":[],"mappings":";;;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,sBAAK","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file diff --git a/test/baselines/isolatedModules/2.0/js/test-3.js b/test/baselines/isolatedModules/2.0/js/test-3.js index 433f849f..49f24441 100644 --- a/test/baselines/isolatedModules/2.0/js/test-3.js +++ b/test/baselines/isolatedModules/2.0/js/test-3.js @@ -1,5 +1,6 @@ -define(["require", "exports", './other-3'], function (require, exports, other) { +define(["require", "exports", "./other-3"], function (require, exports, other) { "use strict"; + exports.__esModule = true; var a = new other.Hello(); console.log(a.value); }); diff --git a/test/baselines/isolatedModules/2.0/js/test-3.js.map b/test/baselines/isolatedModules/2.0/js/test-3.js.map index f8e496d3..9b8d6c59 100644 --- a/test/baselines/isolatedModules/2.0/js/test-3.js.map +++ b/test/baselines/isolatedModules/2.0/js/test-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["test-3.ts"],"names":[],"mappings":";;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n. // Syntax error\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file +{"version":3,"sources":["test-3.ts"],"names":[],"mappings":";;;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n. // Syntax error\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file diff --git a/test/baselines/isolatedModules/dev/js/other-3.js b/test/baselines/isolatedModules/dev/js/other-3.js index 9265c81e..f3673e57 100644 --- a/test/baselines/isolatedModules/dev/js/other-3.js +++ b/test/baselines/isolatedModules/dev/js/other-3.js @@ -1,5 +1,6 @@ define(["require", "exports"], function (require, exports) { "use strict"; + exports.__esModule = true; var Hello = (function () { function Hello() { } diff --git a/test/baselines/isolatedModules/dev/js/other-3.js.map b/test/baselines/isolatedModules/dev/js/other-3.js.map index 49cbfeb1..e828029d 100644 --- a/test/baselines/isolatedModules/dev/js/other-3.js.map +++ b/test/baselines/isolatedModules/dev/js/other-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["other-3.ts"],"names":[],"mappings":";;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,aAAK,QAEjB,CAAA","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file +{"version":3,"sources":["other-3.ts"],"names":[],"mappings":";;;IAAA;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAFA,AAEC,IAAA;IAFY,sBAAK","file":"other-3.js","sourcesContent":["export class Hello {\n\tvalue: string;\n}"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file diff --git a/test/baselines/isolatedModules/dev/js/test-3.js b/test/baselines/isolatedModules/dev/js/test-3.js index 433f849f..49f24441 100644 --- a/test/baselines/isolatedModules/dev/js/test-3.js +++ b/test/baselines/isolatedModules/dev/js/test-3.js @@ -1,5 +1,6 @@ -define(["require", "exports", './other-3'], function (require, exports, other) { +define(["require", "exports", "./other-3"], function (require, exports, other) { "use strict"; + exports.__esModule = true; var a = new other.Hello(); console.log(a.value); }); diff --git a/test/baselines/isolatedModules/dev/js/test-3.js.map b/test/baselines/isolatedModules/dev/js/test-3.js.map index f8e496d3..9b8d6c59 100644 --- a/test/baselines/isolatedModules/dev/js/test-3.js.map +++ b/test/baselines/isolatedModules/dev/js/test-3.js.map @@ -1 +1 @@ -{"version":3,"sources":["test-3.ts"],"names":[],"mappings":";;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n. // Syntax error\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file +{"version":3,"sources":["test-3.ts"],"names":[],"mappings":";;;IAEA,IAAI,CAAC,GAAG,IAAI,KAAK,CAAC,KAAK,EAAE,CAAC;IAC1B,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC","file":"test-3.js","sourcesContent":["import other = require('./other-3');\n. // Syntax error\nvar a = new other.Hello();\nconsole.log(a.value);"],"sourceRoot":"../../../../isolatedModules/"} \ No newline at end of file diff --git a/test/baselines/out/2.0/js/concat.js.map b/test/baselines/out/2.0/js/concat.js.map index 26f94053..3195d777 100644 --- a/test/baselines/out/2.0/js/concat.js.map +++ b/test/baselines/out/2.0/js/concat.js.map @@ -1 +1 @@ -{"version":3,"sources":["test/out/bar.ts","test/out/foo.ts"],"names":[],"mappings":"AAAA;AAEA,CAAC;ACFD,IAAI,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC;AACpB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,IAAI,CAAS,CAAC,CAAC,oDAAoD","file":"concat.js","sourcesContent":["class Hello {\n\tvalue: string;\n}","var a = new Hello();\nconsole.log(a.value);\n\nvar b: Symbol; // Target = ES6, so lib.es6.d.ts should be included."],"sourceRoot":"../../../../out/"} \ No newline at end of file +{"version":3,"sources":["test/out/bar.ts","test/out/foo.ts"],"names":[],"mappings":"AAAA;CAEC;ACFD,IAAI,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC;AACpB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,IAAI,CAAS,CAAC,CAAC,oDAAoD","file":"concat.js","sourcesContent":["class Hello {\n\tvalue: string;\n}","var a = new Hello();\nconsole.log(a.value);\n\nvar b: Symbol; // Target = ES6, so lib.es6.d.ts should be included."],"sourceRoot":"../../../../out/"} \ No newline at end of file diff --git a/test/baselines/out/dev/js/concat.js.map b/test/baselines/out/dev/js/concat.js.map index 26f94053..3195d777 100644 --- a/test/baselines/out/dev/js/concat.js.map +++ b/test/baselines/out/dev/js/concat.js.map @@ -1 +1 @@ -{"version":3,"sources":["test/out/bar.ts","test/out/foo.ts"],"names":[],"mappings":"AAAA;AAEA,CAAC;ACFD,IAAI,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC;AACpB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,IAAI,CAAS,CAAC,CAAC,oDAAoD","file":"concat.js","sourcesContent":["class Hello {\n\tvalue: string;\n}","var a = new Hello();\nconsole.log(a.value);\n\nvar b: Symbol; // Target = ES6, so lib.es6.d.ts should be included."],"sourceRoot":"../../../../out/"} \ No newline at end of file +{"version":3,"sources":["test/out/bar.ts","test/out/foo.ts"],"names":[],"mappings":"AAAA;CAEC;ACFD,IAAI,CAAC,GAAG,IAAI,KAAK,EAAE,CAAC;AACpB,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC;AAErB,IAAI,CAAS,CAAC,CAAC,oDAAoD","file":"concat.js","sourcesContent":["class Hello {\n\tvalue: string;\n}","var a = new Hello();\nconsole.log(a.value);\n\nvar b: Symbol; // Target = ES6, so lib.es6.d.ts should be included."],"sourceRoot":"../../../../out/"} \ No newline at end of file diff --git a/test/baselines/sourceMaps/2.0/js/Main/MainFile.js b/test/baselines/sourceMaps/2.0/js/Main/MainFile.js index bb2b1b35..1e499dc7 100644 --- a/test/baselines/sourceMaps/2.0/js/Main/MainFile.js +++ b/test/baselines/sourceMaps/2.0/js/Main/MainFile.js @@ -1,4 +1,5 @@ "use strict"; +exports.__esModule = true; var foo = { bar: 42 }; diff --git a/test/baselines/sourceMaps/2.0/js/Main/MainFile.js.map b/test/baselines/sourceMaps/2.0/js/Main/MainFile.js.map index f3f8b9b2..7d40e5e5 100644 --- a/test/baselines/sourceMaps/2.0/js/Main/MainFile.js.map +++ b/test/baselines/sourceMaps/2.0/js/Main/MainFile.js.map @@ -1 +1 @@ -{"version":3,"sources":["MainFile.ts"],"names":[],"mappings":";AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFile.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["MainFile.ts"],"names":[],"mappings":";;AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFile.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js b/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js index 29b274ba..91447cfb 100644 --- a/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js +++ b/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js @@ -1,4 +1,5 @@ "use strict"; +exports.__esModule = true; var foo = { bar: 42 }; diff --git a/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js.map b/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js.map index 7d633886..c5c4dd7b 100644 --- a/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js.map +++ b/test/baselines/sourceMaps/2.0/js/Main/MainFileTsx.js.map @@ -1 +1 @@ -{"version":3,"sources":["MainFileTsx.tsx"],"names":[],"mappings":";AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFileTsx.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);\n"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["MainFileTsx.tsx"],"names":[],"mappings":";;AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFileTsx.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);\n"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/test/baselines/sourceMaps/dev/js/Main/MainFile.js b/test/baselines/sourceMaps/dev/js/Main/MainFile.js index bb2b1b35..1e499dc7 100644 --- a/test/baselines/sourceMaps/dev/js/Main/MainFile.js +++ b/test/baselines/sourceMaps/dev/js/Main/MainFile.js @@ -1,4 +1,5 @@ "use strict"; +exports.__esModule = true; var foo = { bar: 42 }; diff --git a/test/baselines/sourceMaps/dev/js/Main/MainFile.js.map b/test/baselines/sourceMaps/dev/js/Main/MainFile.js.map index f3f8b9b2..7d40e5e5 100644 --- a/test/baselines/sourceMaps/dev/js/Main/MainFile.js.map +++ b/test/baselines/sourceMaps/dev/js/Main/MainFile.js.map @@ -1 +1 @@ -{"version":3,"sources":["MainFile.ts"],"names":[],"mappings":";AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFile.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["MainFile.ts"],"names":[],"mappings":";;AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFile.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);"],"sourceRoot":"/source/"} \ No newline at end of file diff --git a/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js b/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js index 29b274ba..91447cfb 100644 --- a/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js +++ b/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js @@ -1,4 +1,5 @@ "use strict"; +exports.__esModule = true; var foo = { bar: 42 }; diff --git a/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js.map b/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js.map index 7d633886..c5c4dd7b 100644 --- a/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js.map +++ b/test/baselines/sourceMaps/dev/js/Main/MainFileTsx.js.map @@ -1 +1 @@ -{"version":3,"sources":["MainFileTsx.tsx"],"names":[],"mappings":";AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFileTsx.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);\n"],"sourceRoot":"/source/"} \ No newline at end of file +{"version":3,"sources":["MainFileTsx.tsx"],"names":[],"mappings":";;AAEA,IAAI,GAAG,GAAS;IACZ,GAAG,EAAE,EAAE;CACV,CAAC;AAEF,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC","file":"MainFileTsx.js","sourcesContent":["import IFoo = require(\"../Outer/Foo\");\n\nvar foo: IFoo = {\n bar: 42\n};\n\nconsole.log(foo.bar);\n"],"sourceRoot":"/source/"} \ No newline at end of file