From 7fdb8f88918b3620ad5be1f4d570092f3ff7bf7a Mon Sep 17 00:00:00 2001 From: Sheetal Nandi Date: Tue, 7 Apr 2020 15:37:22 -0700 Subject: [PATCH] Have distinct transpile and normal webpack output --- .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 125 +++++++++ .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 101 ++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 119 +++++++++ .../bundle.js.map | 1 + .../expectedOutput-transpile-3.8/output.txt | 5 + .../expectedOutput-transpile-3.8/bundle.js | 113 +++++++++ .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../expectedOutput-transpile-3.8/0.bundle.js | 27 ++ .../bundle.js} | 0 .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../expectedOutput-transpile-3.8/output.txt | 16 ++ .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../create-and-execute-test.js | 141 ++--------- .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../patch0/bundle.js | 100 ++++++++ .../patch0/output.txt} | 0 .../patch1/bundle.js | 100 ++++++++ .../patch1/output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../patch0/bundle.js | 100 ++++++++ .../patch0/output.txt} | 0 .../patch1/bundle.js | 100 ++++++++ .../patch1/output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/0.bundle.js | 27 ++ .../expectedOutput-transpile-3.8/bundle.js | 238 ++++++++++++++++++ .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 101 ++++++++ .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 101 ++++++++ .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 101 ++++++++ .../output.txt} | 0 .../patch0/bundle.js | 101 ++++++++ .../patch0/output.txt} | 0 .../patch1/bundle.js | 101 ++++++++ .../patch1/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../expectedOutput-transpile-3.8/output.txt | 4 + .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../patch2/bundle.js} | 0 .../patch2/output.txt} | 0 .../patch3/bundle.js} | 0 .../patch3/output.txt} | 0 .../patch4/bundle.js} | 0 .../patch4/output.txt} | 0 .../patch5/bundle.js} | 0 .../patch5/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../patch2/bundle.js} | 0 .../patch2/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../patch2/bundle.js} | 0 .../patch2/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../patch2/bundle.js} | 0 .../patch2/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../patch2/bundle.js} | 0 .../patch2/output.txt} | 0 .../patch3/bundle.js} | 0 .../patch3/output.txt} | 0 .../patch4/bundle.js} | 0 .../patch4/output.txt} | 0 .../patch5/bundle.js} | 0 .../patch5/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../patch2/bundle.js} | 0 .../patch2/output.txt} | 0 .../patch3/bundle.js} | 0 .../patch3/output.txt} | 0 .../patch4/bundle.js} | 0 .../patch4/output.txt} | 0 .../patch5/bundle.js} | 0 .../patch5/output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js} | 0 .../patch1/output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 102 ++++++++ .../bundle.js.map | 1 + .../expectedOutput-transpile-3.8/output.txt | 5 + .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../expectedOutput-transpile-3.8/output.txt | 17 ++ .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../bundle.js} | 0 .../output.txt} | 0 .../patch0/bundle.js} | 0 .../patch0/output.txt} | 0 .../patch1/bundle.js | 100 ++++++++ .../patch1/output.txt} | 0 .../expectedOutput-transpile-3.8/bundle.js | 100 ++++++++ .../expectedOutput-transpile-3.8/output.txt | 15 ++ 252 files changed, 3246 insertions(+), 116 deletions(-) rename test/comparison-tests/aliasResolution/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/aliasResolution/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/aliasResolution/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/aliasResolution/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/allowJs-entryFileIsJs/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/allowJs-ts-check/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/appendSuffixTo/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/appendSuffixTo/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/babel-es6resolveParent/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js.map create mode 100644 test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/output.txt create mode 100644 test/comparison-tests/babel-issue92/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/babel-issue92/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/basic/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/basic/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/basic/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/basic/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/basic/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/basic/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) create mode 100644 test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/0.bundle.js rename test/comparison-tests/codeSplitting/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/codeSplitting/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/colors/expectedOutput-transpile-3.8/bundle.js create mode 100644 test/comparison-tests/colors/expectedOutput-transpile-3.8/output.txt rename test/comparison-tests/conditionalRequire/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/conditionalRequire/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/constEnumReExportWatch/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/customTransformer/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch0/bundle.js rename test/comparison-tests/customTransformer/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch1/bundle.js rename test/comparison-tests/customTransformer/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/customTransformerUsingPathString/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch0/bundle.js rename test/comparison-tests/customTransformerUsingPathString/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch1/bundle.js rename test/comparison-tests/customTransformerUsingPathString/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) create mode 100644 test/comparison-tests/declarationDeps/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/declarationDeps/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/dependencyErrors/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/dependencyErrors/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/dependencyErrors/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/dependencyErrors/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/errorFormatter/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/errorFormatter/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/errors/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/errors/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/es3/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/es3/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/es5/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/es5/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/es6/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/es6/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/0.bundle.js create mode 100644 test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/es6codeSplitting/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/es6withCJS/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/es6withCJS/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/externals/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/externals/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/html-webpack-plugin/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/ignoreDiagnostics/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/instance/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/instance/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/issue372/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/issue372/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/issue372/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/issue372/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/issue441/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch0/bundle.js rename test/comparison-tests/issue441/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch1/bundle.js rename test/comparison-tests/issue441/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/localTsImplementationOfTypings/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/localTsImplementationOfTypings/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/node/expectedOutput-transpile-3.8/bundle.js create mode 100644 test/comparison-tests/node/expectedOutput-transpile-3.8/output.txt rename test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/nodeResolution/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/nodeResolution/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) create mode 100644 test/comparison-tests/nolib/expectedOutput-transpile-3.8/bundle.js rename test/comparison-tests/nolib/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/npmLink/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/npmLink/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/onlyCompileBundledFiles/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/onlyCompileBundledFiles/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/onlyCompileBundledFiles/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/onlyCompileBundledFiles/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/onlyCompileBundledFiles/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/onlyCompileBundledFiles/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/production/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/production/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferences/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferences/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNoSourceMap/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNoSourceMap/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesNotBuilt_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesNotBuilt_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesOutDir/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesOutDir/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesRootDir/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesRootDir/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesRootDirInvalidConfig/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesRootDirInvalidConfig/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch2/bundle.transpiled.js => expectedOutput-transpile-3.8/patch2/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch2/output.transpiled.txt => expectedOutput-transpile-3.8/patch2/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch3/bundle.transpiled.js => expectedOutput-transpile-3.8/patch3/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch3/output.transpiled.txt => expectedOutput-transpile-3.8/patch3/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch4/bundle.transpiled.js => expectedOutput-transpile-3.8/patch4/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch4/output.transpiled.txt => expectedOutput-transpile-3.8/patch4/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch5/bundle.transpiled.js => expectedOutput-transpile-3.8/patch5/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch/{expectedOutput-3.8/patch5/output.transpiled.txt => expectedOutput-transpile-3.8/patch5/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/patch2/bundle.transpiled.js => expectedOutput-transpile-3.8/patch2/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/{expectedOutput-3.8/patch2/output.transpiled.txt => expectedOutput-transpile-3.8/patch2/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/patch2/bundle.transpiled.js => expectedOutput-transpile-3.8/patch2/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/{expectedOutput-3.8/patch2/output.transpiled.txt => expectedOutput-transpile-3.8/patch2/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/patch2/bundle.transpiled.js => expectedOutput-transpile-3.8/patch2/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/{expectedOutput-3.8/patch2/output.transpiled.txt => expectedOutput-transpile-3.8/patch2/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch2/bundle.transpiled.js => expectedOutput-transpile-3.8/patch2/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch2/output.transpiled.txt => expectedOutput-transpile-3.8/patch2/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch3/bundle.transpiled.js => expectedOutput-transpile-3.8/patch3/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch3/output.transpiled.txt => expectedOutput-transpile-3.8/patch3/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch4/bundle.transpiled.js => expectedOutput-transpile-3.8/patch4/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch4/output.transpiled.txt => expectedOutput-transpile-3.8/patch4/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch5/bundle.transpiled.js => expectedOutput-transpile-3.8/patch5/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_Composite_WatchApi/{expectedOutput-3.8/patch5/output.transpiled.txt => expectedOutput-transpile-3.8/patch5/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch2/bundle.transpiled.js => expectedOutput-transpile-3.8/patch2/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch2/output.transpiled.txt => expectedOutput-transpile-3.8/patch2/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch3/bundle.transpiled.js => expectedOutput-transpile-3.8/patch3/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch3/output.transpiled.txt => expectedOutput-transpile-3.8/patch3/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch4/bundle.transpiled.js => expectedOutput-transpile-3.8/patch4/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch4/output.transpiled.txt => expectedOutput-transpile-3.8/patch4/output.txt} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch5/bundle.transpiled.js => expectedOutput-transpile-3.8/patch5/bundle.js} (100%) rename test/comparison-tests/projectReferencesWatch_WatchApi/{expectedOutput-3.8/patch5/output.transpiled.txt => expectedOutput-transpile-3.8/patch5/output.txt} (100%) rename test/comparison-tests/replacement/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/replacement/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/reportFiles/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/reportFiles/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch1/bundle.js} (100%) rename test/comparison-tests/simpleDependency/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js.map create mode 100644 test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/output.txt create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/bundle.js create mode 100644 test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/output.txt rename test/comparison-tests/tsconfigInvalidFile/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/tsconfigInvalidFile/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/tsconfigNotReadable/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/tsconfigNotReadable/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/tsconfigSearch/{expectedOutput-3.8/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/tsconfigSearch/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.8/patch0/bundle.transpiled.js => expectedOutput-transpile-3.8/bundle.js} (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.8/output.transpiled.txt => expectedOutput-transpile-3.8/output.txt} (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.8/patch1/bundle.transpiled.js => expectedOutput-transpile-3.8/patch0/bundle.js} (100%) rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.8/patch0/output.transpiled.txt => expectedOutput-transpile-3.8/patch0/output.txt} (100%) create mode 100644 test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch1/bundle.js rename test/comparison-tests/typeSystemWatch/{expectedOutput-3.8/patch1/output.transpiled.txt => expectedOutput-transpile-3.8/patch1/output.txt} (100%) create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/bundle.js create mode 100644 test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/aliasResolution/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/aliasResolution/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/aliasResolution/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..7a2725d4e --- /dev/null +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..ebe9e5a85 --- /dev/null +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,125 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./src/index.js"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./src/error1.js": +/*!***********************!*\ + !*** ./src/error1.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Class1 = /** @class */ (function () {\n function Class1() {\n }\n Class1.prototype.foo = function () {\n this.bar;\n };\n return Class1;\n}());\nexports.Class1 = Class1;\n\n\n//# sourceURL=webpack:///./src/error1.js?"); + +/***/ }), + +/***/ "./src/error2.js": +/*!***********************!*\ + !*** ./src/error2.js ***! + \***********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// @ts-check\nvar Class2 = /** @class */ (function () {\n function Class2() {\n }\n Class2.prototype.foo = function () {\n this.bar;\n };\n return Class2;\n}());\nexports.Class2 = Class2;\n\n\n//# sourceURL=webpack:///./src/error2.js?"); + +/***/ }), + +/***/ "./src/index.js": +/*!**********************!*\ + !*** ./src/index.js ***! + \**********************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar error1_1 = __webpack_require__(/*! ./error1 */ \"./src/error1.js\");\nvar error2_1 = __webpack_require__(/*! ./error2 */ \"./src/error2.js\");\nnew error1_1.Class1().foo();\nnew error2_1.Class2().foo();\n\n\n//# sourceURL=webpack:///./src/index.js?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/allowJs-ts-check/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/appendSuffixTo/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/appendSuffixTo/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/appendSuffixTo/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/appendSuffixTo/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..172f02325 --- /dev/null +++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./index.tsx"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./index.tsx": +/*!*******************!*\ + !*** ./index.tsx ***! + \*******************/ +/*! exports provided: BaseComponent */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"BaseComponent\", function() { return BaseComponent; });\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar BaseComponent = function BaseComponent() {\n _classCallCheck(this, BaseComponent);\n};\n\n//# sourceURL=webpack:///./index.tsx?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/babel-es6resolveParent/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..6d304b239 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,119 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; + +function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } + +var __decorate = this && this.__decorate || function (decorators, target, key, desc) { + var c = arguments.length, + r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, + d; + if ((typeof Reflect === "undefined" ? "undefined" : _typeof(Reflect)) === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) { + if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; + }return c > 3 && r && Object.defineProperty(target, key, r), r; +}; +function bar(target) { + return target; +} +var Foo = function Foo() { + _classCallCheck(this, Foo); +}; +Foo = __decorate([bar], Foo); + +/***/ }) + +/******/ }); +//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js.map new file mode 100644 index 000000000..3e468fb7b --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;;;;;;;;;;;;;ACjFA,SAAY,IAAY;AACpB,WACJ;AAAC;AAGD;AAEC;;AAFQ,kBADL,MAGH,K","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/output.txt new file mode 100644 index 000000000..fa5003ee3 --- /dev/null +++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-3.8/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 4.89 KiB main [emitted] main +bundle.js.map 3.7 KiB main [emitted] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 1.18 KiB {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..e6b3d92e4 --- /dev/null +++ b/test/comparison-tests/babel-issue92/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,113 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__[\"default\"]);\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./submodule/submodule.tsx": +/*!*********************************!*\ + !*** ./submodule/submodule.tsx ***! + \*********************************/ +/*! exports provided: default */ +/***/ (function(module, __webpack_exports__, __webpack_require__) { + +"use strict"; +eval("__webpack_require__.r(__webpack_exports__);\n/* harmony default export */ __webpack_exports__[\"default\"] = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/babel-issue92/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/babel-issue92/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/babel-issue92/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/basic/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/basic/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/basic/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/basic/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/basic/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/basic/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/basic/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/basic/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/basic/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/basic/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/basic/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/basic/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/basic/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/0.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/0.bundle.js new file mode 100644 index 000000000..12682a0b5 --- /dev/null +++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/0.bundle.js @@ -0,0 +1,27 @@ +(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ + +/***/ "./c.ts": +/*!**************!*\ + !*** ./c.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); + +/***/ }), + +/***/ "./d.ts": +/*!**************!*\ + !*** ./d.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nmodule.exports = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); + +/***/ }) + +}]); \ No newline at end of file diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/codeSplitting/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/codeSplitting/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/codeSplitting/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/colors/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/colors/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..2a238bb51 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-3.8/output.txt new file mode 100644 index 000000000..86b418a13 --- /dev/null +++ b/test/comparison-tests/colors/expectedOutput-transpile-3.8/output.txt @@ -0,0 +1,16 @@ + Asset Size Chunks Chunk Names +bundle.js 3.89 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 149 bytes {main} [built] [failed] [2 errors] + +ERROR in ./app.ts 2:1 +Module parse failed: Unexpected token (2:1) +You may need an appropriate loader to handle this file type. +| var a; +> == 0; +| + +ERROR in app.ts +./app.ts +[tsl] ERROR in app.ts(1,7) + TS1005: ',' expected. \ No newline at end of file diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/conditionalRequire/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/conditionalRequire/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/conditionalRequire/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/conditionalRequire/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/constEnumReExportWatch/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/constEnumReExportWatch/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/create-and-execute-test.js b/test/comparison-tests/create-and-execute-test.js index 7723b08b3..0a7d37a6b 100644 --- a/test/comparison-tests/create-and-execute-test.js +++ b/test/comparison-tests/create-and-execute-test.js @@ -22,9 +22,6 @@ const testToRun = process.argv[indexOfTestToRun + 1]; const indexOfExtraOption = process.argv.indexOf('--extra-option'); const extraOption = indexOfExtraOption === -1 ? undefined : process.argv[indexOfExtraOption + 1]; -/** @type {{ [testName: string]: { regular?: {}; transpiled?: {}; } }} */ -const savedOutputs = {}; - if (saveOutputMode) { console.log('Will save output as --save-output was supplied...'); } @@ -79,13 +76,11 @@ function createTest(test, testPath, options) { this.timeout(60000); // sometimes it just takes awhile const testState = createTestState(); const paths = createPaths(stagingPath, test, options); - const outputs = { - regularSavedOutput: undefined, - transpiledSavedOutput: undefined, - currentSavedOutput: undefined - }; - - storeSavedOutputs(saveOutputMode, outputs, test, options, paths); + if (saveOutputMode) { + mkdirp.sync(paths.originalExpectedOutput); + } else { + assert.ok(pathExists(paths.originalExpectedOutput), 'The expected output does not exist; there is nothing to compare against! Has the expected output been created?\nCould not find: ' + paths.originalExpectedOutput) + } // copy all input to a staging area mkdirp.sync(paths.testStagingPath); @@ -119,7 +114,7 @@ function createTest(test, testPath, options) { // execute webpack testState.watcher = webpack( createWebpackConfig(paths, options, nonWatchNonCompositePath !== testPath) - ).watch({ aggregateTimeout: 1500 }, createWebpackWatchHandler(done, paths, testState, outputs, options, test)); + ).watch({ aggregateTimeout: 1500 }, createWebpackWatchHandler(done, paths, testState, options, test)); }; } @@ -136,37 +131,16 @@ function createPaths(stagingPath, test, options) { const testStagingPath = path.join(stagingPath, test + (options.transpileOnly ? '.transpile' : '')); rimraf.sync(testStagingPath); // Make sure it's clean + const transpilePath = options.transpileOnly ? 'transpile-' : ''; return { testStagingPath: testStagingPath, actualOutput: path.join(testStagingPath, 'actualOutput'), - expectedOutput: path.join(testStagingPath, 'expectedOutput-' + typescriptVersion), + expectedOutput: path.join(testStagingPath, 'expectedOutput-' + transpilePath + typescriptVersion), webpackOutput: path.join(testStagingPath, '.output'), - originalExpectedOutput: path.join(testPath, 'expectedOutput-' + typescriptVersion) + originalExpectedOutput: path.join(testPath, 'expectedOutput-' + transpilePath + typescriptVersion) }; } -/** - * - * @param {boolean} saveOutputMode - * @param {{ regularSavedOutput: {}; transpiledSavedOutput: {}; currentSavedOutput: {};}} outputs - * @param {*} test - * @param {*} options - * @param {{ testStagingPath: string; actualOutput: string; expectedOutput: string; webpackOutput: string; originalExpectedOutput: string;}} paths - */ -function storeSavedOutputs(saveOutputMode, outputs, test, options, paths) { - if (saveOutputMode) { - savedOutputs[test] = savedOutputs[test] || {}; - - outputs.regularSavedOutput = savedOutputs[test].regular = savedOutputs[test].regular || {}; - outputs.transpiledSavedOutput = savedOutputs[test].transpiled = savedOutputs[test].transpiled || {}; - outputs.currentSavedOutput = options.transpileOnly ? outputs.transpiledSavedOutput : outputs.regularSavedOutput; - - mkdirp.sync(paths.originalExpectedOutput); - } else { - assert.ok(pathExists(paths.originalExpectedOutput), 'The expected output does not exist; there is nothing to compare against! Has the expected output been created?\nCould not find: ' + paths.originalExpectedOutput) - } -} - function createWebpackConfig(paths, optionsOriginal, useWatchApi) { const config = require(path.join(paths.testStagingPath, 'webpack.config')); @@ -196,34 +170,33 @@ function createWebpackConfig(paths, optionsOriginal, useWatchApi) { return config; } -function createWebpackWatchHandler(done, paths, testState, outputs, options, test) { +function createWebpackWatchHandler(done, paths, testState, options, test) { return function (err, stats) { - const patch = setPathsAndGetPatch(paths, testState); + const patch = setPathsAndGetPatch(paths, testState, options); cleanHashFromOutput(stats, paths.webpackOutput); - saveOutputIfRequired(saveOutputMode, paths, outputs, options, patch); - copySync(paths.webpackOutput, paths.actualOutput); rimraf.sync(paths.webpackOutput); - handleErrors(err, paths, outputs, patch, options); + handleErrors(err, paths); - storeStats(stats, testState, paths, outputs, patch, options); + storeStats(stats, testState, paths); - compareFiles(paths, options, test, patch); + compareFiles(paths, test, patch); copyPatchOrEndTest(paths.testStagingPath, testState.watcher, testState, done); } } -function setPathsAndGetPatch(paths, testState) { +function setPathsAndGetPatch(paths, testState, options) { let patch = ''; if (testState.iteration > 0) { + const transpilePath = options.transpileOnly ? 'transpile-' : ''; patch = 'patch' + (testState.iteration - 1); paths.actualOutput = path.join(paths.testStagingPath, 'actualOutput', patch); - paths.expectedOutput = path.join(paths.testStagingPath, 'expectedOutput-' + typescriptVersion, patch); - paths.originalExpectedOutput = path.join(testPath, 'expectedOutput-' + typescriptVersion, patch) + paths.expectedOutput = path.join(paths.testStagingPath, 'expectedOutput-' + transpilePath + typescriptVersion, patch); + paths.originalExpectedOutput = path.join(testPath, 'expectedOutput-' + transpilePath + typescriptVersion, patch) mkdirp.sync(paths.actualOutput); mkdirp.sync(paths.expectedOutput); if (saveOutputMode) mkdirp.sync(paths.originalExpectedOutput); @@ -231,30 +204,7 @@ function setPathsAndGetPatch(paths, testState) { return patch; } -function saveOutputIfRequired(saveOutputMode, paths, outputs, options, patch) { - // output results - if (saveOutputMode) { - // loop through webpackOutput and rename to .transpiled if needed - glob.sync('**/*', { cwd: paths.webpackOutput, nodir: true }).forEach(function (file) { - const patchedFileName = patch + '/' + file; - outputs.currentSavedOutput[patchedFileName] = fs.readFileSync(path.join(paths.webpackOutput, file), 'utf-8'); - - if (options.transpileOnly) { - if (outputs.regularSavedOutput[patchedFileName] !== outputs.transpiledSavedOutput[patchedFileName]) { - const extension = path.extname(file); - fs.renameSync( - path.join(paths.webpackOutput, file), - path.join(paths.webpackOutput, path.basename(file, extension) + '.transpiled' + extension) - ); - } - } - }); - - copySync(paths.webpackOutput, paths.originalExpectedOutput); - } -} - -function handleErrors(err, paths, outputs, patch, options) { +function handleErrors(err, paths) { if (err) { const errFileName = 'err.txt'; @@ -265,23 +215,10 @@ function handleErrors(err, paths, outputs, patch, options) { .replace(/\.transpile/g, ''); fs.writeFileSync(path.join(paths.actualOutput, errFileName), errString); - if (saveOutputMode) { - const patchedErrFileName = patch + '/' + errFileName; - outputs.currentSavedOutput[patchedErrFileName] = errString; - - if (options.transpileOnly) { - if (outputs.regularSavedOutput[patchedErrFileName] !== outputs.transpiledSavedOutput[patchedErrFileName]) { - fs.writeFileSync(path.join(paths.originalExpectedOutput, 'err.transpiled.txt'), errString); - } - } - else { - fs.writeFileSync(path.join(paths.originalExpectedOutput, errFileName), errString); - } - } } } -function storeStats(stats, testState, paths, outputs, patch, options) { +function storeStats(stats, testState, paths) { if (stats && stats.hash !== testState.lastHash) { testState.lastHash = stats.hash; @@ -303,40 +240,14 @@ function storeStats(stats, testState, paths, outputs, patch, options) { .replace(/\.transpile/g, ''); fs.writeFileSync(path.join(paths.actualOutput, statsFileName), statsString); - if (saveOutputMode) { - const patchedStatsFileName = patch + '/' + statsFileName; - outputs.currentSavedOutput[patchedStatsFileName] = statsString; - - if (options.transpileOnly) { - if (outputs.regularSavedOutput[patchedStatsFileName] !== outputs.transpiledSavedOutput[patchedStatsFileName]) { - fs.writeFileSync(path.join(paths.originalExpectedOutput, 'output.transpiled.txt'), statsString); - } - } - else { - fs.writeFileSync(path.join(paths.originalExpectedOutput, statsFileName), statsString); - } - } } } -function compareFiles(paths, options, test, patch) { - if (!saveOutputMode) { - // massage any .transpiled. files - glob.sync('**/*', { cwd: paths.expectedOutput, nodir: true }).forEach(function (file) { - if (/\.transpiled/.test(file)) { - if (options.transpileOnly) { // rename if we're in transpile mode - const extension = path.extname(file); - fs.renameSync( - path.join(paths.expectedOutput, file), - path.join(paths.expectedOutput, path.dirname(file), path.basename(file, '.transpiled' + extension) + extension) - ); - } - else { // otherwise delete - fs.unlinkSync(path.join(paths.expectedOutput, file)); - } - } - }); - +function compareFiles(paths, test, patch) { + if (saveOutputMode) { + copySync(paths.actualOutput, paths.originalExpectedOutput); + } + else { // compare actual to expected const actualFiles = glob.sync('**/*', { cwd: paths.actualOutput, nodir: true }), expectedFiles = glob.sync('**/*', { cwd: paths.expectedOutput, nodir: true }) @@ -345,11 +256,9 @@ function compareFiles(paths, options, test, patch) { actualFiles.forEach(function (file) { allFiles[file] = true }); expectedFiles.forEach(function (file) { allFiles[file] = true }); - Object.keys(allFiles).forEach(function (file) { const actual = getNormalisedFileContent(file, paths.actualOutput); const expected = getNormalisedFileContent(file, paths.expectedOutput); - compareActualAndExpected(test, actual, expected, patch, file); }); } diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..98f9ec82e --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch0/bundle.js new file mode 100644 index 000000000..a659b2234 --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch1/bundle.js new file mode 100644 index 000000000..5cb90e8ac --- /dev/null +++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformer/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformer/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/customTransformer/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..98f9ec82e --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch0/bundle.js new file mode 100644 index 000000000..a659b2234 --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch0/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch1/bundle.js new file mode 100644 index 000000000..5cb90e8ac --- /dev/null +++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/customTransformerUsingPathString/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..2be063c80 --- /dev/null +++ b/test/comparison-tests/declarationDeps/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/declarationDeps/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/declarationDeps/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/dependencyErrors/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/dependencyErrors/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/errorFormatter/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/errorFormatter/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/errorFormatter/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/errorFormatter/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/errorFormatter/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/errorFormatter/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/errorFormatter/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/errors/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/errors/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..2a238bb51 --- /dev/null +++ b/test/comparison-tests/errors/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nYou may need an appropriate loader to handle this file type./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/errors/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/errors/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/es3/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/es3/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..1ccaf64d6 --- /dev/null +++ b/test/comparison-tests/es3/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es3/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/es3/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/es3/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/es5/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/es5/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..9e16aea65 --- /dev/null +++ b/test/comparison-tests/es5/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/es5/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/es5/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/es5/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/es6/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/es6/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..6b32b06c7 --- /dev/null +++ b/test/comparison-tests/es6/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/es6/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/es6/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/es6/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/0.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/0.bundle.js new file mode 100644 index 000000000..9a5b38037 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/0.bundle.js @@ -0,0 +1,27 @@ +(window["webpackJsonp"] = window["webpackJsonp"] || []).push([[0],{ + +/***/ "./c.ts": +/*!**************!*\ + !*** ./c.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?"); + +/***/ }), + +/***/ "./d.ts": +/*!**************!*\ + !*** ./d.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'd';\n\n\n//# sourceURL=webpack:///./d.ts?"); + +/***/ }) + +}]); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..a5bc8f4c0 --- /dev/null +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,238 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // install a JSONP callback for chunk loading +/******/ function webpackJsonpCallback(data) { +/******/ var chunkIds = data[0]; +/******/ var moreModules = data[1]; +/******/ +/******/ +/******/ // add "moreModules" to the modules object, +/******/ // then flag all "chunkIds" as loaded and fire callback +/******/ var moduleId, chunkId, i = 0, resolves = []; +/******/ for(;i < chunkIds.length; i++) { +/******/ chunkId = chunkIds[i]; +/******/ if(installedChunks[chunkId]) { +/******/ resolves.push(installedChunks[chunkId][0]); +/******/ } +/******/ installedChunks[chunkId] = 0; +/******/ } +/******/ for(moduleId in moreModules) { +/******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) { +/******/ modules[moduleId] = moreModules[moduleId]; +/******/ } +/******/ } +/******/ if(parentJsonpFunction) parentJsonpFunction(data); +/******/ +/******/ while(resolves.length) { +/******/ resolves.shift()(); +/******/ } +/******/ +/******/ }; +/******/ +/******/ +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // object to store loaded and loading chunks +/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched +/******/ // Promise = chunk loading, 0 = chunk loaded +/******/ var installedChunks = { +/******/ "main": 0 +/******/ }; +/******/ +/******/ +/******/ +/******/ // script path function +/******/ function jsonpScriptSrc(chunkId) { +/******/ return __webpack_require__.p + "" + chunkId + ".bundle.js" +/******/ } +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ // This file contains only the entry chunk. +/******/ // The chunk loading function for additional chunks +/******/ __webpack_require__.e = function requireEnsure(chunkId) { +/******/ var promises = []; +/******/ +/******/ +/******/ // JSONP chunk loading for javascript +/******/ +/******/ var installedChunkData = installedChunks[chunkId]; +/******/ if(installedChunkData !== 0) { // 0 means "already installed". +/******/ +/******/ // a Promise means "currently loading". +/******/ if(installedChunkData) { +/******/ promises.push(installedChunkData[2]); +/******/ } else { +/******/ // setup Promise in chunk cache +/******/ var promise = new Promise(function(resolve, reject) { +/******/ installedChunkData = installedChunks[chunkId] = [resolve, reject]; +/******/ }); +/******/ promises.push(installedChunkData[2] = promise); +/******/ +/******/ // start chunk loading +/******/ var head = document.getElementsByTagName('head')[0]; +/******/ var script = document.createElement('script'); +/******/ var onScriptComplete; +/******/ +/******/ script.charset = 'utf-8'; +/******/ script.timeout = 120; +/******/ if (__webpack_require__.nc) { +/******/ script.setAttribute("nonce", __webpack_require__.nc); +/******/ } +/******/ script.src = jsonpScriptSrc(chunkId); +/******/ +/******/ onScriptComplete = function (event) { +/******/ // avoid mem leaks in IE. +/******/ script.onerror = script.onload = null; +/******/ clearTimeout(timeout); +/******/ var chunk = installedChunks[chunkId]; +/******/ if(chunk !== 0) { +/******/ if(chunk) { +/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type); +/******/ var realSrc = event && event.target && event.target.src; +/******/ var error = new Error('Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')'); +/******/ error.type = errorType; +/******/ error.request = realSrc; +/******/ chunk[1](error); +/******/ } +/******/ installedChunks[chunkId] = undefined; +/******/ } +/******/ }; +/******/ var timeout = setTimeout(function(){ +/******/ onScriptComplete({ type: 'timeout', target: script }); +/******/ }, 120000); +/******/ script.onerror = script.onload = onScriptComplete; +/******/ head.appendChild(script); +/******/ } +/******/ } +/******/ return Promise.all(promises); +/******/ }; +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ // on error function for async loading +/******/ __webpack_require__.oe = function(err) { console.error(err); throw err; }; +/******/ +/******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || []; +/******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray); +/******/ jsonpArray.push = webpackJsonpCallback; +/******/ jsonpArray = jsonpArray.slice(); +/******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]); +/******/ var parentJsonpFunction = oldJsonpFunction; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?"); + +/***/ }), + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar a_1 = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b_1 = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a_1.default);\nconsole.log(b_1.default);\n__webpack_require__.e(/*! require.ensure */ 0).then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... from` statements). `require.ensure` is defined in\n // require.d.ts. Webpack sees this and automatically puts c and d\n // into a separate chunk. \n // Note that requiring an ES6 module always returns an object\n // with the named exports. This means if you want to access\n // the default export you have to do so manually.\n // Since we used syntactic sugar for the default export for c, we\n // go ahead and access the default property.\n var cDefault = __webpack_require__(/*! ./c */ \"./c.ts\")[\"default\"];\n // For d, we imported the whole module so we don't access the default\n // property yet. \n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n console.log(cDefault);\n console.log(dModule[\"default\"]);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }), + +/***/ "./b.ts": +/*!**************!*\ + !*** ./b.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/es6codeSplitting/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/es6codeSplitting/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..2ecaec7ac --- /dev/null +++ b/test/comparison-tests/es6withCJS/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/es6withCJS/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/es6withCJS/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/es6withCJS/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/es6withCJS/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/externals/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/externals/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/externals/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/externals/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/externals/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/externals/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/externals/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/externals/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/html-webpack-plugin/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/html-webpack-plugin/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..45cd29fc1 --- /dev/null +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\nvar Foo = /** @class */ (function () {\n function Foo() {\n }\n return Foo;\n}());\nvar Bar = /** @class */ (function () {\n function Bar() {\n }\n return Bar;\n}());\nvar a = 'b'; // this should error with 2322\nmodule.exports = Bar;\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/ignoreDiagnostics/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/instance/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/instance/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/instance/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/instance/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/instance/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/instance/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/issue372/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/issue372/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/issue372/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/issue372/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/issue372/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/issue372/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/issue372/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/issue372/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/issue372/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/issue372/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/issue372/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/issue372/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..b04086bcd --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/issue441/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch0/bundle.js new file mode 100644 index 000000000..b04086bcd --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch0/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch1/bundle.js new file mode 100644 index 000000000..b04086bcd --- /dev/null +++ b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch1/bundle.js @@ -0,0 +1,101 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports, __webpack_require__) { + +"use strict"; +eval("\r\nexports.__esModule = true;\r\nvar foo;\r\nfoo.bar = 'foobar';\r\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/issue441/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/issue441/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/issue441/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/localTsImplementationOfTypings/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/node/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/node/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..f53a6e29c --- /dev/null +++ b/test/comparison-tests/node/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/node/expectedOutput-transpile-3.8/output.txt new file mode 100644 index 000000000..9f23dfb3d --- /dev/null +++ b/test/comparison-tests/node/expectedOutput-transpile-3.8/output.txt @@ -0,0 +1,4 @@ + Asset Size Chunks Chunk Names +bundle.js 3.8 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 67 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/nodeResolution/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/nodeResolution/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/nodeResolution/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/nodeResolution/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/nodeResolution/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/nodeResolution/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/nodeResolution/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/nolib/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..2579b12ff --- /dev/null +++ b/test/comparison-tests/nolib/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/nolib/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/nolib/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/nolib/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/nolib/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/npmLink/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/npmLink/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/npmLink/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/npmLink/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/npmLink/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/npmLink/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/npmLink/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/onlyCompileBundledFiles/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/production/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/production/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/production/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/production/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/production/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/production/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/production/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/production/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferences/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferences/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferences/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferences/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferences/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferences/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesOutDir/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesOutDir/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesRootDir/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch2/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch2/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch2/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch2/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch2/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch2/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch2/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch2/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch3/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch3/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch3/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch3/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch3/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch3/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch3/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch3/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch4/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch4/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch4/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch4/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch4/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch4/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch4/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch4/output.txt diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch5/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch5/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch5/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch5/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch5/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch5/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch/expectedOutput-3.8/patch5/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-3.8/patch5/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch2/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch2/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch2/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch2/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch2/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch2/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-3.8/patch2/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-3.8/patch2/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch3/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch3/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch3/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch3/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch3/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch3/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch3/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch3/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch4/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch4/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch4/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch4/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch4/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch4/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch4/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch4/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch5/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch5/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch5/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch5/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch5/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch5/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-3.8/patch5/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-3.8/patch5/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch2/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch2/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch2/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch2/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch3/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch3/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch3/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch3/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch3/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch3/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch3/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch3/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch4/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch4/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch4/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch4/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch4/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch4/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch4/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch4/output.txt diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch5/bundle.transpiled.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch5/bundle.js similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch5/bundle.transpiled.js rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch5/bundle.js diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch5/output.transpiled.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch5/output.txt similarity index 100% rename from test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-3.8/patch5/output.transpiled.txt rename to test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-3.8/patch5/output.txt diff --git a/test/comparison-tests/replacement/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/replacement/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/replacement/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/replacement/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/replacement/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/replacement/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/replacement/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/replacement/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/reportFiles/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/reportFiles/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/reportFiles/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/reportFiles/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/reportFiles/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/reportFiles/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/reportFiles/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch1/bundle.js similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch1/bundle.js diff --git a/test/comparison-tests/simpleDependency/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/simpleDependency/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/simpleDependency/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..f3d4c05b6 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,102 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./a.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./a.ts": +/*!**************!*\ + !*** ./a.ts ***! + \**************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +console.log('Hello world'); + + +/***/ }) + +/******/ }); +//# sourceMappingURL=bundle.js.map \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js.map new file mode 100644 index 000000000..957a153cf --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/bundle.js.map @@ -0,0 +1 @@ +{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;;;;;AClFA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = \"./a.ts\");\n","console.log('Hello world')"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/output.txt new file mode 100644 index 000000000..79976eca9 --- /dev/null +++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-3.8/output.txt @@ -0,0 +1,5 @@ + Asset Size Chunks Chunk Names + bundle.js 3.74 KiB main [emitted] main +bundle.js.map 3.61 KiB main [emitted] main +Entrypoint main = bundle.js bundle.js.map +[./a.ts] 28 bytes {main} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..08e5b3234 --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from c:/github/ts-loader/index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (c://github//ts-loader//dist//index.js:19:18)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/output.txt new file mode 100644 index 000000000..49104004b --- /dev/null +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-3.8/output.txt @@ -0,0 +1,17 @@ + Asset Size Chunks Chunk Names +bundle.js 3.95 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 206 bytes {main} [built] [failed] [3 errors] + +ERROR in tsconfig.json +[tsl] ERROR + TS5024: Compiler option 'sourceMap' requires a value of type boolean. + +ERROR in tsconfig.json +[tsl] ERROR + TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'esnext'. + +ERROR in ./app.ts +Module build failed (from /index.js): +Error: error while parsing tsconfig.json + at Object.loader (dist\index.js:19:18) \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/tsconfigInvalidFile/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigNotReadable/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/tsconfigNotReadable/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/tsconfigNotReadable/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.8/bundle.transpiled.js b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/tsconfigSearch/expectedOutput-3.8/bundle.transpiled.js rename to test/comparison-tests/tsconfigSearch/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/tsconfigSearch/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/tsconfigSearch/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch0/bundle.transpiled.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.8/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.8/output.transpiled.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch0/bundle.js similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch1/bundle.transpiled.js rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch0/bundle.js diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch0/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch0/output.transpiled.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch0/output.txt diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch1/bundle.js new file mode 100644 index 000000000..94f8c68e2 --- /dev/null +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch1/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("var Foo = /** @class */ (function () {\n function Foo() {\n }\n Foo.prototype.getSomething = function () {\n return null;\n };\n return Foo;\n}());\nvar foo = new Foo();\nvar x = foo.getSomething();\n\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch1/output.txt similarity index 100% rename from test/comparison-tests/typeSystemWatch/expectedOutput-3.8/patch1/output.transpiled.txt rename to test/comparison-tests/typeSystemWatch/expectedOutput-transpile-3.8/patch1/output.txt diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/bundle.js new file mode 100644 index 000000000..9c4d394ca --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/bundle.js @@ -0,0 +1,100 @@ +/******/ (function(modules) { // webpackBootstrap +/******/ // The module cache +/******/ var installedModules = {}; +/******/ +/******/ // The require function +/******/ function __webpack_require__(moduleId) { +/******/ +/******/ // Check if module is in cache +/******/ if(installedModules[moduleId]) { +/******/ return installedModules[moduleId].exports; +/******/ } +/******/ // Create a new module (and put it into the cache) +/******/ var module = installedModules[moduleId] = { +/******/ i: moduleId, +/******/ l: false, +/******/ exports: {} +/******/ }; +/******/ +/******/ // Execute the module function +/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); +/******/ +/******/ // Flag the module as loaded +/******/ module.l = true; +/******/ +/******/ // Return the exports of the module +/******/ return module.exports; +/******/ } +/******/ +/******/ +/******/ // expose the modules object (__webpack_modules__) +/******/ __webpack_require__.m = modules; +/******/ +/******/ // expose the module cache +/******/ __webpack_require__.c = installedModules; +/******/ +/******/ // define getter function for harmony exports +/******/ __webpack_require__.d = function(exports, name, getter) { +/******/ if(!__webpack_require__.o(exports, name)) { +/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); +/******/ } +/******/ }; +/******/ +/******/ // define __esModule on exports +/******/ __webpack_require__.r = function(exports) { +/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { +/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); +/******/ } +/******/ Object.defineProperty(exports, '__esModule', { value: true }); +/******/ }; +/******/ +/******/ // create a fake namespace object +/******/ // mode & 1: value is a module id, require it +/******/ // mode & 2: merge all properties of value into the ns +/******/ // mode & 4: return value when already ns object +/******/ // mode & 8|1: behave like require +/******/ __webpack_require__.t = function(value, mode) { +/******/ if(mode & 1) value = __webpack_require__(value); +/******/ if(mode & 8) return value; +/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; +/******/ var ns = Object.create(null); +/******/ __webpack_require__.r(ns); +/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); +/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); +/******/ return ns; +/******/ }; +/******/ +/******/ // getDefaultExport function for compatibility with non-harmony modules +/******/ __webpack_require__.n = function(module) { +/******/ var getter = module && module.__esModule ? +/******/ function getDefault() { return module['default']; } : +/******/ function getModuleExports() { return module; }; +/******/ __webpack_require__.d(getter, 'a', getter); +/******/ return getter; +/******/ }; +/******/ +/******/ // Object.prototype.hasOwnProperty.call +/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; +/******/ +/******/ // __webpack_public_path__ +/******/ __webpack_require__.p = ""; +/******/ +/******/ +/******/ // Load entry module and return exports +/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); +/******/ }) +/************************************************************************/ +/******/ ({ + +/***/ "./app.ts": +/*!****************!*\ + !*** ./app.ts ***! + \****************/ +/*! no static exports found */ +/***/ (function(module, exports) { + +eval("throw new Error(\"Module build failed (from c:/github/ts-loader/index.js):/nError: ts-loader was supplied with an unexpected loader option: notRealOption/n/nPlease take a look at the options you are supplying; the following are valid options:/nsilent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective/n/n at validateLoaderOptions (c://github//ts-loader//dist//index.js:155:19)/n at getLoaderOptions (c://github//ts-loader//dist//index.js:112:5)/n at Object.loader (c://github//ts-loader//dist//index.js:16:21)\");\n\n//# sourceURL=webpack:///./app.ts?"); + +/***/ }) + +/******/ }); \ No newline at end of file diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/output.txt new file mode 100644 index 000000000..698615f4f --- /dev/null +++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-3.8/output.txt @@ -0,0 +1,15 @@ + Asset Size Chunks Chunk Names +bundle.js 4.63 KiB main [emitted] main +Entrypoint main = bundle.js +[./app.ts] 887 bytes {main} [built] [failed] [1 error] + +ERROR in ./app.ts +Module build failed (from /index.js): +Error: ts-loader was supplied with an unexpected loader option: notRealOption + +Please take a look at the options you are supplying; the following are valid options: +silent / logLevel / logInfoToStdOut / instance / compiler / context / configFile / transpileOnly / ignoreDiagnostics / errorFormatter / colors / compilerOptions / appendTsSuffixTo / appendTsxSuffixTo / onlyCompileBundledFiles / happyPackMode / getCustomTransformers / reportFiles / experimentalWatchApi / allowTsInNodeModules / experimentalFileCaching / projectReferences / resolveModuleName / resolveTypeReferenceDirective + + at validateLoaderOptions (dist\index.js:155:19) + at getLoaderOptions (dist\index.js:112:5) + at Object.loader (dist\index.js:16:21) \ No newline at end of file