diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml
index 87a4516db..96e69045e 100644
--- a/.github/workflows/push.yml
+++ b/.github/workflows/push.yml
@@ -49,7 +49,7 @@ jobs:
strategy:
matrix:
node: [12, 14]
- ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, 4.2.4, 4.3.2, next]
+ ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, 4.2.4, 4.3.2, 4.4.2, next]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
@@ -76,7 +76,7 @@ jobs:
strategy:
matrix:
node: [12, 14]
- ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, 4.2.4, 4.3.2, next]
+ ts: [3.8.3, 3.9.3, 4.0.3, 4.1.5, 4.2.4, 4.3.2, 4.4.2, next]
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
diff --git a/src/instances.ts b/src/instances.ts
index 3b509c29b..0fa796394 100644
--- a/src/instances.ts
+++ b/src/instances.ts
@@ -353,7 +353,9 @@ export function initializeInstance(
customerTransformers = require(customerTransformers);
} catch (err) {
throw new Error(
- `Failed to load customTransformers from "${instance.loaderOptions.getCustomTransformers}": ${err.message}`
+ `Failed to load customTransformers from "${
+ instance.loaderOptions.getCustomTransformers
+ }": ${err instanceof Error ? err.message : 'unknown error'}`
);
}
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.4/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..18b2ec1df
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/components/myComponent.ts":
+/*!******************************************!*\
+ !*** ./common/components/myComponent.ts ***!
+ \******************************************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.4/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..1258b61ed
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-4.4/output.txt
@@ -0,0 +1,17 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+./app.ts 120 bytes [built] [code generated] [2 errors]
+./common/components/myComponent.ts 46 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 1:29-53
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m
+[1m[31m TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+ERROR in app.ts
+./app.ts 2:30-55
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,31)[39m[22m
+[1m[31m TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..38a20f95b
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/components/myComponent.ts":
+/*!******************************************!*\
+ !*** ./common/components/myComponent.ts ***!
+ \******************************************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..b9e20a7e7
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,17 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+cached modules 120 bytes [cached] 1 module
+./common/components/myComponent.ts 45 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 1:29-53
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m
+[1m[31m TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+ERROR in app.ts
+./app.ts 2:30-55
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,31)[39m[22m
+[1m[31m TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..8efb138af
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/components/myComponent.ts":
+/*!******************************************!*\
+ !*** ./common/components/myComponent.ts ***!
+ \******************************************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..02e5a3389
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+./app.ts 156 bytes [built] [code generated]
+./common/components/myComponent.ts 46 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..6ce67c687
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/components/myComponent.ts":
+/*!******************************************!*\
+ !*** ./common/components/myComponent.ts ***!
+ \******************************************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'changed it';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..ab9ab77ce
--- /dev/null
+++ b/test/comparison-tests/aliasResolution/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+cached modules 156 bytes [cached] 1 module
+./common/components/myComponent.ts 45 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.4/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..4ad989273
--- /dev/null
+++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.js":
+/*!**********************!*\
+ !*** ./src/index.js ***!
+ \**********************/
+/***/ (() => {
+
+eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./src/index.js"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.4/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..0f6e8b562
--- /dev/null
+++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.2 KiB [emitted] (name: main)
+./src/index.js 24 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..4ad989273
--- /dev/null
+++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.js":
+/*!**********************!*\
+ !*** ./src/index.js ***!
+ \**********************/
+/***/ (() => {
+
+eval("console.log('working');\n\n\n//# sourceURL=webpack:///./src/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./src/index.js"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..0f6e8b562
--- /dev/null
+++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.2 KiB [emitted] (name: main)
+./src/index.js 24 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.4/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..c32433a31
--- /dev/null
+++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/error1.js":
+/*!***********************!*\
+ !*** ./src/error1.js ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Class1 = void 0;\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 ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Class2 = void 0;\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 ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.js");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.4/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..fc3a0033f
--- /dev/null
+++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.4/output.txt
@@ -0,0 +1,13 @@
+asset bundle.js 3.45 KiB [emitted] (name: main)
+./src/index.js 207 bytes [built] [code generated]
+./src/error1.js 290 bytes [built] [code generated]
+./src/error2.js 303 bytes [built] [code generated] [1 error]
+
+ERROR in src/error2.js
+./src/error2.js 4:9-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36msrc/error2.js(4,10)[39m[22m
+[1m[31m TS2339: Property 'bar' does not exist on type 'Class2'.[39m[22m
+ts-loader-default_609318b4f68865d3
+ @ ./src/index.js 4:15-34
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..c32433a31
--- /dev/null
+++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/error1.js":
+/*!***********************!*\
+ !*** ./src/error1.js ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Class1 = void 0;\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 ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.Class2 = void 0;\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 ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.js");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..21c3f514b
--- /dev/null
+++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.45 KiB [emitted] (name: main)
+./src/index.js 207 bytes [built] [code generated]
+./src/error1.js 290 bytes [built] [code generated]
+./src/error2.js 303 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.4/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..d8fdb0b33
--- /dev/null
+++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./component.vue":
+/*!***********************!*\
+ !*** ./component.vue ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.default = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?");
+
+/***/ }),
+
+/***/ "./helper.ts":
+/*!*******************!*\
+ !*** ./helper.ts ***!
+ \*******************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?");
+
+/***/ }),
+
+/***/ "./index.vue":
+/*!*******************!*\
+ !*** ./index.vue ***!
+ \*******************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports.default = {\n components: { component: component_vue_1[\"default\"] },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./index.vue");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-4.4/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..0c318891e
--- /dev/null
+++ b/test/comparison-tests/appendSuffixTo/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.26 KiB [emitted] (name: main)
+./index.vue 352 bytes [built] [code generated]
+./component.vue 154 bytes [built] [code generated]
+./helper.ts 154 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..0c3f3216f
--- /dev/null
+++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./component.vue":
+/*!***********************!*\
+ !*** ./component.vue ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = {\n data: function () {\n return {\n msg: \"component\"\n };\n }\n};\n\n\n//# sourceURL=webpack:///./component.vue?");
+
+/***/ }),
+
+/***/ "./helper.ts":
+/*!*******************!*\
+ !*** ./helper.ts ***!
+ \*******************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.myMethod = void 0;\nfunction myMethod() {\n console.log('from helper!');\n}\nexports.myMethod = myMethod;\n\n\n//# sourceURL=webpack:///./helper.ts?");
+
+/***/ }),
+
+/***/ "./index.vue":
+/*!*******************!*\
+ !*** ./index.vue ***!
+ \*******************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./helper.ts\");\nexports.default = {\n components: { component: component_vue_1.default },\n data: function () {\n return {\n msg: \"world\"\n };\n },\n method: {\n myMethod: helper_1.myMethod\n }\n};\n\n\n//# sourceURL=webpack:///./index.vue?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./index.vue");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..39cd59da5
--- /dev/null
+++ b/test/comparison-tests/appendSuffixTo/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.38 KiB [emitted] (name: main)
+./index.vue 382 bytes [built] [code generated]
+./component.vue 187 bytes [built] [code generated]
+./helper.ts 190 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/bundle.entry1.js
new file mode 100644
index 000000000..c8cfca5af
--- /dev/null
+++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/bundle.entry1.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./entry1.ts":
+/*!*******************!*\
+ !*** ./entry1.ts ***!
+ \*******************/
+/***/ (() => {
+
+eval("console.log('banana');\n\n\n//# sourceURL=webpack:///./entry1.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./entry1.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/bundle.entry2.js
new file mode 100644
index 000000000..43b3c0429
--- /dev/null
+++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/bundle.entry2.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./component.vue":
+/*!***********************!*\
+ !*** ./component.vue ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.default = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?");
+
+/***/ }),
+
+/***/ "./entry2.ts":
+/*!*******************!*\
+ !*** ./entry2.ts ***!
+ \*******************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./entry2.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..00bbe6882
--- /dev/null
+++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/output.txt
@@ -0,0 +1,6 @@
+asset bundle.entry2.js 2.58 KiB [emitted] (name: entry2)
+asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1)
+./entry1.ts 23 bytes [built] [code generated]
+./entry2.ts 132 bytes [built] [code generated]
+./component.vue 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/bundle.entry1.js
new file mode 100644
index 000000000..56d0ab162
--- /dev/null
+++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/bundle.entry1.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./entry1.ts":
+/*!*******************!*\
+ !*** ./entry1.ts ***!
+ \*******************/
+/***/ (() => {
+
+eval("console.log('something!');\n\n\n//# sourceURL=webpack:///./entry1.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./entry1.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/bundle.entry2.js
new file mode 100644
index 000000000..43b3c0429
--- /dev/null
+++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/bundle.entry2.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./component.vue":
+/*!***********************!*\
+ !*** ./component.vue ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.default = \"some value\";\n\n\n//# sourceURL=webpack:///./component.vue?");
+
+/***/ }),
+
+/***/ "./entry2.ts":
+/*!*******************!*\
+ !*** ./entry2.ts ***!
+ \*******************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar component_vue_1 = __webpack_require__(/*! ./component.vue */ \"./component.vue\");\nconsole.log(component_vue_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./entry2.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./entry2.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..955a1fdd7
--- /dev/null
+++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,5 @@
+assets by status 2.58 KiB [cached] 1 asset
+asset bundle.entry1.js 1.18 KiB [emitted] (name: entry1)
+cached modules 208 bytes [cached] 2 modules
+./entry1.ts 27 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.4/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..ef72ad432
--- /dev/null
+++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.4/bundle.js
@@ -0,0 +1,66 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./index.tsx":
+/*!*******************!*\
+ !*** ./index.tsx ***!
+ \*******************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"BaseComponent\": () => (/* binding */ BaseComponent)\n/* harmony export */ });\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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The require scope
+/******/ var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./index.tsx"](0, __webpack_exports__, __webpack_require__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.4/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..9c9c664e3
--- /dev/null
+++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.09 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+./index.tsx 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..ef72ad432
--- /dev/null
+++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,66 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./index.tsx":
+/*!*******************!*\
+ !*** ./index.tsx ***!
+ \*******************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"BaseComponent\": () => (/* binding */ BaseComponent)\n/* harmony export */ });\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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The require scope
+/******/ var __webpack_require__ = {};
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./index.tsx"](0, __webpack_exports__, __webpack_require__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..9c9c664e3
--- /dev/null
+++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.09 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+./index.tsx 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.4/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..ac1b804d5
--- /dev/null
+++ b/test/comparison-tests/babel-issue81/expectedOutput-4.4/bundle.js
@@ -0,0 +1,43 @@
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ (function() {
+
+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);
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./a.ts"]();
+/******/
+/******/ })()
+;
+//# sourceMappingURL=bundle.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.4/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-4.4/bundle.js.map
new file mode 100644
index 000000000..5bfc3848e
--- /dev/null
+++ b/test/comparison-tests/babel-issue81/expectedOutput-4.4/bundle.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["webpack:///./a.ts","webpack:///webpack/startup"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,SAAY,IAAY;AACpB,WACJ;AAAC;AAGD;AAEC;;AAFQ,kBADL,MAGH,K;;;;;;;UCRD;UACA;UACA;UACA;UACA","file":"bundle.js","sourcesContent":["\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[\"./a.ts\"]();\n"],"sourceRoot":""}
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue81/expectedOutput-4.4/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..4488e6433
--- /dev/null
+++ b/test/comparison-tests/babel-issue81/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.75 KiB [emitted] (name: main) 1 related asset
+./a.ts 1.18 KiB [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..ac1b804d5
--- /dev/null
+++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,43 @@
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ (function() {
+
+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);
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./a.ts"]();
+/******/
+/******/ })()
+;
+//# sourceMappingURL=bundle.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/bundle.js.map
new file mode 100644
index 000000000..5bfc3848e
--- /dev/null
+++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/bundle.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["webpack:///./a.ts","webpack:///webpack/startup"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;AACA,SAAY,IAAY;AACpB,WACJ;AAAC;AAGD;AAEC;;AAFQ,kBADL,MAGH,K;;;;;;;UCRD;UACA;UACA;UACA;UACA","file":"bundle.js","sourcesContent":["\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}","// startup\n// Load entry module and return exports\n// This entry module is referenced by other modules so it can't be inlined\nvar __webpack_exports__ = {};\n__webpack_modules__[\"./a.ts\"]();\n"],"sourceRoot":""}
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..4488e6433
--- /dev/null
+++ b/test/comparison-tests/babel-issue81/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.75 KiB [emitted] (name: main) 1 related asset
+./a.ts 1.18 KiB [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue92/expectedOutput-4.4/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..121745ad2
--- /dev/null
+++ b/test/comparison-tests/babel-issue92/expectedOutput-4.4/bundle.js
@@ -0,0 +1,96 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__.default);\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.tsx":
+/*!*********************************!*\
+ !*** ./submodule/submodule.tsx ***!
+ \*********************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue92/expectedOutput-4.4/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..01d226c46
--- /dev/null
+++ b/test/comparison-tests/babel-issue92/expectedOutput-4.4/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 4.41 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+cacheable modules 110 bytes
+ ./app.ts 72 bytes [built] [code generated]
+ ./submodule/submodule.tsx 38 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..121745ad2
--- /dev/null
+++ b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,96 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony import */ var _submodule_submodule__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.tsx\");\n\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (_submodule_submodule__WEBPACK_IMPORTED_MODULE_0__.default);\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.tsx":
+/*!*********************************!*\
+ !*** ./submodule/submodule.tsx ***!
+ \*********************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\"Hello from submodule\");\n\n//# sourceURL=webpack:///./submodule/submodule.tsx?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..01d226c46
--- /dev/null
+++ b/test/comparison-tests/babel-issue92/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 4.41 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+cacheable modules 110 bytes
+ ./app.ts 72 bytes [built] [code generated]
+ ./submodule/submodule.tsx 38 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-4.4/bundle.js b/test/comparison-tests/basic/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..37e4d4420
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-4.4/output.txt b/test/comparison-tests/basic/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..5bfac7662
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.11 KiB [emitted] (name: main)
+./app.ts 169 bytes [built] [code generated]
+./submodule/submodule.ts 149 bytes [built] [code generated]
+./lib/externalLib.js 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..5ad5bf01e
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..0d462e53f
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 3.11 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 170 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 3:12-24
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,13)[39m[22m
+[1m[31m TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'?[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..37e4d4420
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..644f4a81e
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.11 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..ad95915fb
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..f70cc859f
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.15 KiB [emitted] (name: main)
+./app.ts 205 bytes [built] [code generated]
+./submodule/submodule.ts 149 bytes [built] [code generated]
+./lib/externalLib.js 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..b048c8aec
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..867f89175
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.15 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 206 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..ad95915fb
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..f3f31b8c1
--- /dev/null
+++ b/test/comparison-tests/basic/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.15 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 205 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.4/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..f981deb77
--- /dev/null
+++ b/test/comparison-tests/codeSplitting/expectedOutput-4.4/bundle.js
@@ -0,0 +1,274 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?");
+
+/***/ }),
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ \"c_ts-d_ts\").then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` 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 var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./b.ts":
+/*!**************!*\
+ !*** ./b.ts ***!
+ \**************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/ensure chunk */
+/******/ (() => {
+/******/ __webpack_require__.f = {};
+/******/ // This file contains only the entry chunk.
+/******/ // The chunk loading function for additional chunks
+/******/ __webpack_require__.e = (chunkId) => {
+/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
+/******/ __webpack_require__.f[key](chunkId, promises);
+/******/ return promises;
+/******/ }, []));
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/get javascript chunk filename */
+/******/ (() => {
+/******/ // This function allow to reference async chunks
+/******/ __webpack_require__.u = (chunkId) => {
+/******/ // return url for filenames based on template
+/******/ return "" + chunkId + ".bundle.js";
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/global */
+/******/ (() => {
+/******/ __webpack_require__.g = (function() {
+/******/ if (typeof globalThis === 'object') return globalThis;
+/******/ try {
+/******/ return this || new Function('return this')();
+/******/ } catch (e) {
+/******/ if (typeof window === 'object') return window;
+/******/ }
+/******/ })();
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/load script */
+/******/ (() => {
+/******/ var inProgress = {};
+/******/ // data-webpack is not used as build has no uniqueName
+/******/ // loadScript function to load a script via script tag
+/******/ __webpack_require__.l = (url, done, key, chunkId) => {
+/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
+/******/ var script, needAttach;
+/******/ if(key !== undefined) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ for(var i = 0; i < scripts.length; i++) {
+/******/ var s = scripts[i];
+/******/ if(s.getAttribute("src") == url) { script = s; break; }
+/******/ }
+/******/ }
+/******/ if(!script) {
+/******/ needAttach = true;
+/******/ script = document.createElement('script');
+/******/
+/******/ script.charset = 'utf-8';
+/******/ script.timeout = 120;
+/******/ if (__webpack_require__.nc) {
+/******/ script.setAttribute("nonce", __webpack_require__.nc);
+/******/ }
+/******/
+/******/ script.src = url;
+/******/ }
+/******/ inProgress[url] = [done];
+/******/ var onScriptComplete = (prev, event) => {
+/******/ // avoid mem leaks in IE.
+/******/ script.onerror = script.onload = null;
+/******/ clearTimeout(timeout);
+/******/ var doneFns = inProgress[url];
+/******/ delete inProgress[url];
+/******/ script.parentNode && script.parentNode.removeChild(script);
+/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
+/******/ if(prev) return prev(event);
+/******/ }
+/******/ ;
+/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
+/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
+/******/ script.onload = onScriptComplete.bind(null, script.onload);
+/******/ needAttach && document.head.appendChild(script);
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/publicPath */
+/******/ (() => {
+/******/ var scriptUrl;
+/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
+/******/ var document = __webpack_require__.g.document;
+/******/ if (!scriptUrl && document) {
+/******/ if (document.currentScript)
+/******/ scriptUrl = document.currentScript.src
+/******/ if (!scriptUrl) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
+/******/ }
+/******/ }
+/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
+/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
+/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
+/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
+/******/ __webpack_require__.p = scriptUrl;
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "main": 0
+/******/ };
+/******/
+/******/ __webpack_require__.f.j = (chunkId, promises) => {
+/******/ // JSONP chunk loading for javascript
+/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
+/******/ if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ // a Promise means "currently loading".
+/******/ if(installedChunkData) {
+/******/ promises.push(installedChunkData[2]);
+/******/ } else {
+/******/ if(true) { // all chunks have JS
+/******/ // setup Promise in chunk cache
+/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
+/******/ promises.push(installedChunkData[2] = promise);
+/******/
+/******/ // start chunk loading
+/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
+/******/ // create error before stack unwound to get useful stacktrace later
+/******/ var error = new Error();
+/******/ var loadingEnded = (event) => {
+/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
+/******/ installedChunkData = installedChunks[chunkId];
+/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
+/******/ if(installedChunkData) {
+/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ var realSrc = event && event.target && event.target.src;
+/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ error.name = 'ChunkLoadError';
+/******/ error.type = errorType;
+/******/ error.request = realSrc;
+/******/ installedChunkData[1](error);
+/******/ }
+/******/ }
+/******/ };
+/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
+/******/ } else installedChunks[chunkId] = 0;
+/******/ }
+/******/ }
+/******/ };
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ // no on chunks loaded
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var [chunkIds, moreModules, runtime] = data;
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkIds[i]] = 0;
+/******/ }
+/******/
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/codeSplitting/expectedOutput-4.4/c_ts-d_ts.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-4.4/c_ts-d_ts.bundle.js
new file mode 100644
index 000000000..d1c0c8cfe
--- /dev/null
+++ b/test/comparison-tests/codeSplitting/expectedOutput-4.4/c_ts-d_ts.bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+(self["webpackChunk"] = self["webpackChunk"] || []).push([["c_ts-d_ts"],{
+
+/***/ "./c.ts":
+/*!**************!*\
+ !*** ./c.ts ***!
+ \**************/
+/***/ ((module) => {
+
+"use strict";
+eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?");
+
+/***/ }),
+
+/***/ "./d.ts":
+/*!**************!*\
+ !*** ./d.ts ***!
+ \**************/
+/***/ ((module) => {
+
+"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-4.4/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..4268cc74a
--- /dev/null
+++ b/test/comparison-tests/codeSplitting/expectedOutput-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 11.8 KiB [emitted] (name: main)
+asset c_ts-d_ts.bundle.js 1 KiB [emitted]
+runtime modules 5.95 KiB 7 modules
+cacheable modules 733 bytes
+ ./app.ts 589 bytes [built] [code generated]
+ ./a.ts 36 bytes [built] [code generated]
+ ./b.ts 36 bytes [built] [code generated]
+ ./c.ts 36 bytes [built] [code generated]
+ ./d.ts 36 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..4af44983f
--- /dev/null
+++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,274 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?");
+
+/***/ }),
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n__webpack_require__.e(/*! require.ensure */ \"c_ts-d_ts\").then((function (require) {\n // These require calls are emitted (note these are NOT TypeScript\n // `import ... require` 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 var cModule = __webpack_require__(/*! ./c */ \"./c.ts\");\n var dModule = __webpack_require__(/*! ./d */ \"./d.ts\");\n // cModule and dModule will typed as strings\n console.log(cModule);\n console.log(dModule);\n}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./b.ts":
+/*!**************!*\
+ !*** ./b.ts ***!
+ \**************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/ensure chunk */
+/******/ (() => {
+/******/ __webpack_require__.f = {};
+/******/ // This file contains only the entry chunk.
+/******/ // The chunk loading function for additional chunks
+/******/ __webpack_require__.e = (chunkId) => {
+/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
+/******/ __webpack_require__.f[key](chunkId, promises);
+/******/ return promises;
+/******/ }, []));
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/get javascript chunk filename */
+/******/ (() => {
+/******/ // This function allow to reference async chunks
+/******/ __webpack_require__.u = (chunkId) => {
+/******/ // return url for filenames based on template
+/******/ return "" + chunkId + ".bundle.js";
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/global */
+/******/ (() => {
+/******/ __webpack_require__.g = (function() {
+/******/ if (typeof globalThis === 'object') return globalThis;
+/******/ try {
+/******/ return this || new Function('return this')();
+/******/ } catch (e) {
+/******/ if (typeof window === 'object') return window;
+/******/ }
+/******/ })();
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/load script */
+/******/ (() => {
+/******/ var inProgress = {};
+/******/ // data-webpack is not used as build has no uniqueName
+/******/ // loadScript function to load a script via script tag
+/******/ __webpack_require__.l = (url, done, key, chunkId) => {
+/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
+/******/ var script, needAttach;
+/******/ if(key !== undefined) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ for(var i = 0; i < scripts.length; i++) {
+/******/ var s = scripts[i];
+/******/ if(s.getAttribute("src") == url) { script = s; break; }
+/******/ }
+/******/ }
+/******/ if(!script) {
+/******/ needAttach = true;
+/******/ script = document.createElement('script');
+/******/
+/******/ script.charset = 'utf-8';
+/******/ script.timeout = 120;
+/******/ if (__webpack_require__.nc) {
+/******/ script.setAttribute("nonce", __webpack_require__.nc);
+/******/ }
+/******/
+/******/ script.src = url;
+/******/ }
+/******/ inProgress[url] = [done];
+/******/ var onScriptComplete = (prev, event) => {
+/******/ // avoid mem leaks in IE.
+/******/ script.onerror = script.onload = null;
+/******/ clearTimeout(timeout);
+/******/ var doneFns = inProgress[url];
+/******/ delete inProgress[url];
+/******/ script.parentNode && script.parentNode.removeChild(script);
+/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
+/******/ if(prev) return prev(event);
+/******/ }
+/******/ ;
+/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
+/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
+/******/ script.onload = onScriptComplete.bind(null, script.onload);
+/******/ needAttach && document.head.appendChild(script);
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/publicPath */
+/******/ (() => {
+/******/ var scriptUrl;
+/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
+/******/ var document = __webpack_require__.g.document;
+/******/ if (!scriptUrl && document) {
+/******/ if (document.currentScript)
+/******/ scriptUrl = document.currentScript.src
+/******/ if (!scriptUrl) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
+/******/ }
+/******/ }
+/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
+/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
+/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
+/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
+/******/ __webpack_require__.p = scriptUrl;
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "main": 0
+/******/ };
+/******/
+/******/ __webpack_require__.f.j = (chunkId, promises) => {
+/******/ // JSONP chunk loading for javascript
+/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
+/******/ if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ // a Promise means "currently loading".
+/******/ if(installedChunkData) {
+/******/ promises.push(installedChunkData[2]);
+/******/ } else {
+/******/ if(true) { // all chunks have JS
+/******/ // setup Promise in chunk cache
+/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
+/******/ promises.push(installedChunkData[2] = promise);
+/******/
+/******/ // start chunk loading
+/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
+/******/ // create error before stack unwound to get useful stacktrace later
+/******/ var error = new Error();
+/******/ var loadingEnded = (event) => {
+/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
+/******/ installedChunkData = installedChunks[chunkId];
+/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
+/******/ if(installedChunkData) {
+/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ var realSrc = event && event.target && event.target.src;
+/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ error.name = 'ChunkLoadError';
+/******/ error.type = errorType;
+/******/ error.request = realSrc;
+/******/ installedChunkData[1](error);
+/******/ }
+/******/ }
+/******/ };
+/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
+/******/ } else installedChunks[chunkId] = 0;
+/******/ }
+/******/ }
+/******/ };
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ // no on chunks loaded
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var [chunkIds, moreModules, runtime] = data;
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkIds[i]] = 0;
+/******/ }
+/******/
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/c_ts-d_ts.bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/c_ts-d_ts.bundle.js
new file mode 100644
index 000000000..d1c0c8cfe
--- /dev/null
+++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/c_ts-d_ts.bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+(self["webpackChunk"] = self["webpackChunk"] || []).push([["c_ts-d_ts"],{
+
+/***/ "./c.ts":
+/*!**************!*\
+ !*** ./c.ts ***!
+ \**************/
+/***/ ((module) => {
+
+"use strict";
+eval("\nmodule.exports = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?");
+
+/***/ }),
+
+/***/ "./d.ts":
+/*!**************!*\
+ !*** ./d.ts ***!
+ \**************/
+/***/ ((module) => {
+
+"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-transpile-4.4/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..9689eb821
--- /dev/null
+++ b/test/comparison-tests/codeSplitting/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 11.9 KiB [emitted] (name: main)
+asset c_ts-d_ts.bundle.js 1 KiB [emitted]
+runtime modules 5.95 KiB 7 modules
+cacheable modules 769 bytes
+ ./app.ts 625 bytes [built] [code generated]
+ ./a.ts 36 bytes [built] [code generated]
+ ./b.ts 36 bytes [built] [code generated]
+ ./c.ts 36 bytes [built] [code generated]
+ ./d.ts 36 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/colors/expectedOutput-4.4/bundle.js b/test/comparison-tests/colors/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..e5bc8d8ef
--- /dev/null
+++ b/test/comparison-tests/colors/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/colors/expectedOutput-4.4/output.txt b/test/comparison-tests/colors/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..25c6f3079
--- /dev/null
+++ b/test/comparison-tests/colors/expectedOutput-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 1.38 KiB [emitted] (name: main)
+./app.ts 14 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 2:1
+Module parse failed: Unexpected token (2:1)
+File was processed with these loaders:
+ * ../../index.js
+You may need an additional loader to handle the result of these loaders.
+| var a;
+> == 0;
+|
+
+ERROR in app.ts
+./app.ts 1:6-8
+[tsl] ERROR in app.ts(1,7)
+ TS1005: ',' expected.
+ts-loader-default_dda4fd88600de236
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/colors/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..e5bc8d8ef
--- /dev/null
+++ b/test/comparison-tests/colors/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/colors/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e125d9c3a
--- /dev/null
+++ b/test/comparison-tests/colors/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 1.38 KiB [emitted] (name: main)
+./app.ts 14 bytes [built] [code generated] [2 errors]
+
+ERROR in app.ts
+./app.ts 1:6-8
+[tsl] ERROR in app.ts(1,7)
+ TS1005: ',' expected.
+ts-loader-default_94b2ce3d1ca5f363
+
+ERROR in ./app.ts 2:1
+Module parse failed: Unexpected token (2:1)
+File was processed with these loaders:
+ * ../../index.js
+You may need an additional loader to handle the result of these loaders.
+| var a;
+> == 0;
+|
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-4.4/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..078b29358
--- /dev/null
+++ b/test/comparison-tests/conditionalRequire/expectedOutput-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-4.4/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..20623b222
--- /dev/null
+++ b/test/comparison-tests/conditionalRequire/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.46 KiB [emitted] (name: main)
+./app.ts 312 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..d5b533ddd
--- /dev/null
+++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nconsole.log('do something');\n// The DEBUG constant will be inlined by webpack's DefinePlugin (see config)\n// The whole if-statement can then be removed by UglifyJS\nif (false) { var debug; }\nconsole.log('do something else');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..be93d213f
--- /dev/null
+++ b/test/comparison-tests/conditionalRequire/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.5 KiB [emitted] (name: main)
+./app.ts 348 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.4/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..735f8875d
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.4/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..f59ace277
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..79e0c2118
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..d749b372c
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..735f8875d
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..f59ace277
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..79e0c2118
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..d749b372c
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformer/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..735f8875d
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..f59ace277
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..79e0c2118
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..d749b372c
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..735f8875d
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM ME!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..f59ace277
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM HIM!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..79e0c2118
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..d749b372c
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("var message = \"HELLO FROM US!\";\nconsole.log(message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..bc91000a4
--- /dev/null
+++ b/test/comparison-tests/customTransformerUsingPathString/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.19 KiB [emitted] (name: main)
+./app.ts 54 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.4/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..88ec95696
--- /dev/null
+++ b/test/comparison-tests/declarationDeps/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.4/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..cd9c0beb4
--- /dev/null
+++ b/test/comparison-tests/declarationDeps/expectedOutput-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 1.18 KiB [emitted] (name: main)
+./app.ts 41 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 2:6-11
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(2,7)[39m[22m
+[1m[31m TS2339: Property 'sayHi' does not exist on type 'typeof Hello'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..88ec95696
--- /dev/null
+++ b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("Hello.sayHello('Hi');\nHello.sayHi('Hi');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..0866c48d1
--- /dev/null
+++ b/test/comparison-tests/declarationDeps/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.18 KiB [emitted] (name: main)
+./app.ts 41 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.4/.output/app.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-4.4/.output/app.d.ts
new file mode 100644
index 000000000..42c1b770a
--- /dev/null
+++ b/test/comparison-tests/declarationOutput/expectedOutput-4.4/.output/app.d.ts
@@ -0,0 +1,5 @@
+import dep = require('./sub/dep');
+declare class Test extends dep {
+ doSomething(): void;
+}
+export = Test;
diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.4/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutput/expectedOutput-4.4/.output/sub/dep.d.ts
new file mode 100644
index 000000000..0d9a53ad0
--- /dev/null
+++ b/test/comparison-tests/declarationOutput/expectedOutput-4.4/.output/sub/dep.d.ts
@@ -0,0 +1,4 @@
+declare class Test {
+ doSomething(): void;
+}
+export = Test;
diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.4/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..560e44ad9
--- /dev/null
+++ b/test/comparison-tests/declarationOutput/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./sub/dep.ts":
+/*!********************!*\
+ !*** ./sub/dep.ts ***!
+ \********************/
+/***/ ((module) => {
+
+eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutput/expectedOutput-4.4/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..9439df308
--- /dev/null
+++ b/test/comparison-tests/declarationOutput/expectedOutput-4.4/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 3.62 KiB [emitted] (name: main)
+asset .output/app.d.ts 110 bytes [emitted]
+asset .output/sub/dep.d.ts 63 bytes [emitted]
+./app.ts 1.06 KiB [built] [code generated]
+./sub/dep.ts 182 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/app.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/app.d.ts
new file mode 100644
index 000000000..dffb18358
--- /dev/null
+++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/app.d.ts
@@ -0,0 +1,6 @@
+import dep = require('./sub/dep');
+declare class Test extends dep {
+ doSomething(): void;
+}
+export = Test;
+//# sourceMappingURL=app.d.ts.map
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/app.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/app.d.ts.map
new file mode 100644
index 000000000..48bc3c227
--- /dev/null
+++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/app.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"app.d.ts","sourceRoot":"","sources":["../app.ts"],"names":[],"mappings":"AAAA,OAAO,GAAG,GAAG,QAAQ,WAAW,CAAC,CAAC;AAElC,cAAM,IAAK,SAAQ,GAAG;IACrB,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/sub/dep.d.ts b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/sub/dep.d.ts
new file mode 100644
index 000000000..5708986f8
--- /dev/null
+++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/sub/dep.d.ts
@@ -0,0 +1,5 @@
+declare class Test {
+ doSomething(): void;
+}
+export = Test;
+//# sourceMappingURL=dep.d.ts.map
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/sub/dep.d.ts.map b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/sub/dep.d.ts.map
new file mode 100644
index 000000000..9da4dc7f3
--- /dev/null
+++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/.output/sub/dep.d.ts.map
@@ -0,0 +1 @@
+{"version":3,"file":"dep.d.ts","sourceRoot":"","sources":["../../sub/dep.ts"],"names":[],"mappings":"AACA,cAAM,IAAI;IACT,WAAW;CAGX;AAED,SAAS,IAAI,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/bundle.js b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..560e44ad9
--- /dev/null
+++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (function(module, __unused_webpack_exports, __webpack_require__) {
+
+eval("\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n return function (d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar dep = __webpack_require__(/*! ./sub/dep */ \"./sub/dep.ts\");\nvar Test = /** @class */ (function (_super) {\n __extends(Test, _super);\n function Test() {\n return _super !== null && _super.apply(this, arguments) || this;\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}(dep));\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./sub/dep.ts":
+/*!********************!*\
+ !*** ./sub/dep.ts ***!
+ \********************/
+/***/ ((module) => {
+
+eval("\nvar Test = /** @class */ (function () {\n function Test() {\n }\n Test.prototype.doSomething = function () {\n };\n return Test;\n}());\nmodule.exports = Test;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/output.txt b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..fd652953e
--- /dev/null
+++ b/test/comparison-tests/declarationOutputWithMaps/expectedOutput-4.4/output.txt
@@ -0,0 +1,9 @@
+assets by path .output/sub/ 248 bytes
+ asset .output/sub/dep.d.ts.map 152 bytes [emitted]
+ asset .output/sub/dep.d.ts 96 bytes [emitted]
+asset bundle.js 3.62 KiB [emitted] (name: main)
+asset .output/app.d.ts.map 197 bytes [emitted]
+asset .output/app.d.ts 143 bytes [emitted]
+./app.ts 1.06 KiB [built] [code generated]
+./sub/dep.ts 182 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.4/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..e42a49f97
--- /dev/null
+++ b/test/comparison-tests/declarationWatch/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module) => {
+
+eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.4/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..00a79cd9f
--- /dev/null
+++ b/test/comparison-tests/declarationWatch/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.45 KiB [emitted] (name: main)
+./app.ts 108 bytes [built] [code generated]
+./dep.ts 59 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..e42a49f97
--- /dev/null
+++ b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module) => {
+
+eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..0fcbb7ef2
--- /dev/null
+++ b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,18 @@
+asset bundle.js 2.45 KiB [emitted] (name: main)
+./app.ts 108 bytes [built] [code generated] [1 error]
+./dep.ts 59 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 5:6-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(5,7)[39m[22m
+[1m[31m TS2339: Property 'doSomething' does not exist on type 'typeof Thing'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+ERROR in dep.ts
+./dep.ts 1:6-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mdep.ts(1,7)[39m[22m
+[1m[31m TS2339: Property 'doSomething' does not exist on type 'typeof Thing'.[39m[22m
+ts-loader-default_609318b4f68865d3
+ @ ./app.ts 3:10-26
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..e42a49f97
--- /dev/null
+++ b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\nconsole.log(dep);\nThing.doSomething();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module) => {
+
+eval("\nThing.doSomething();\nmodule.exports = 'dep';\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..00a79cd9f
--- /dev/null
+++ b/test/comparison-tests/declarationWatch/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.45 KiB [emitted] (name: main)
+./app.ts 108 bytes [built] [code generated]
+./dep.ts 59 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.4/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..963f05036
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep1.ts":
+/*!*****************!*\
+ !*** ./dep1.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?");
+
+/***/ }),
+
+/***/ "./dep2.ts":
+/*!*****************!*\
+ !*** ./dep2.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.4/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..f8986b0d2
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/output.txt
@@ -0,0 +1,18 @@
+asset bundle.js 2.75 KiB [emitted] (name: main)
+./app.ts 121 bytes [built] [code generated] [2 errors]
+./dep1.ts 76 bytes [built] [code generated]
+./dep2.ts 76 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 4:5-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(4,6)[39m[22m
+[1m[31m TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+ERROR in app.ts
+./app.ts 5:5-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(5,6)[39m[22m
+[1m[31m TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..963f05036
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep1.ts":
+/*!*****************!*\
+ !*** ./dep1.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?");
+
+/***/ }),
+
+/***/ "./dep2.ts":
+/*!*****************!*\
+ !*** ./dep2.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..c4cd7427a
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,12 @@
+asset bundle.js 2.75 KiB [emitted] (name: main)
+cached modules 76 bytes [cached] 1 module
+./app.ts 121 bytes [built] [code generated] [1 error]
+./dep1.ts 76 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 5:5-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(5,6)[39m[22m
+[1m[31m TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..4abf7e601
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep1.ts":
+/*!*****************!*\
+ !*** ./dep1.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?");
+
+/***/ }),
+
+/***/ "./dep2.ts":
+/*!*****************!*\
+ !*** ./dep2.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..6f3654db1
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.79 KiB [emitted] (name: main)
+./app.ts 157 bytes [built] [code generated]
+./dep1.ts 76 bytes [built] [code generated]
+./dep2.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..4abf7e601
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep1 = __webpack_require__(/*! ./dep1 */ \"./dep1.ts\");\nvar dep2 = __webpack_require__(/*! ./dep2 */ \"./dep2.ts\");\ndep1('');\ndep2('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./dep1.ts":
+/*!*****************!*\
+ !*** ./dep1.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep1.ts?");
+
+/***/ }),
+
+/***/ "./dep2.ts":
+/*!*****************!*\
+ !*** ./dep2.ts ***!
+ \*****************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./dep2.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..1564a1293
--- /dev/null
+++ b/test/comparison-tests/dependencyErrors/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.79 KiB [emitted] (name: main)
+cached modules 233 bytes [cached] 2 modules
+./dep1.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.4/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..18b2ec1df
--- /dev/null
+++ b/test/comparison-tests/errorFormatter/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/components/myComponent.ts":
+/*!******************************************!*\
+ !*** ./common/components/myComponent.ts ***!
+ \******************************************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.4/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..57bf27ad4
--- /dev/null
+++ b/test/comparison-tests/errorFormatter/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+./app.ts 120 bytes [built] [code generated] [2 errors]
+./common/components/myComponent.ts 46 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 1:29-53
+Does not compute.... [1m[31mcode: 2307,severity: error,content: Cannot find module 'components/myComponent' or its corresponding type declarations.,file: app.ts,line: 1,character: 30,context: .test/errorFormatter[39m[22m
+ts-loader-default_85b0565984bbe8dd
+
+ERROR in app.ts
+./app.ts 2:30-55
+Does not compute.... [1m[31mcode: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter[39m[22m
+ts-loader-default_85b0565984bbe8dd
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..8efb138af
--- /dev/null
+++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! components/myComponent */ \"./common/components/myComponent.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/components/myComponent.ts":
+/*!******************************************!*\
+ !*** ./common/components/myComponent.ts ***!
+ \******************************************/
+/***/ ((module) => {
+
+eval("\nmodule.exports = 'myComponent';\n\n\n//# sourceURL=webpack:///./common/components/myComponent.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..02e5a3389
--- /dev/null
+++ b/test/comparison-tests/errorFormatter/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+./app.ts 156 bytes [built] [code generated]
+./common/components/myComponent.ts 46 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/errors/expectedOutput-4.4/bundle.js b/test/comparison-tests/errors/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..e5bc8d8ef
--- /dev/null
+++ b/test/comparison-tests/errors/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/errors/expectedOutput-4.4/output.txt b/test/comparison-tests/errors/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..bdecc2c91
--- /dev/null
+++ b/test/comparison-tests/errors/expectedOutput-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 1.38 KiB [emitted] (name: main)
+./app.ts 14 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 2:1
+Module parse failed: Unexpected token (2:1)
+File was processed with these loaders:
+ * ../../index.js
+You may need an additional loader to handle the result of these loaders.
+| var a;
+> == 0;
+|
+
+ERROR in app.ts
+./app.ts 1:6-8
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,7)[39m[22m
+[1m[31m TS1005: ',' expected.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/errors/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..e5bc8d8ef
--- /dev/null
+++ b/test/comparison-tests/errors/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module parse failed: Unexpected token (2:1)/nFile was processed with these loaders:/n * ../../index.js/nYou may need an additional loader to handle the result of these loaders./n| var a;/n> == 0;/n| \");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/errors/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..1830fe9dc
--- /dev/null
+++ b/test/comparison-tests/errors/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 1.38 KiB [emitted] (name: main)
+./app.ts 14 bytes [built] [code generated] [2 errors]
+
+ERROR in app.ts
+./app.ts 1:6-8
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,7)[39m[22m
+[1m[31m TS1005: ',' expected.[39m[22m
+ts-loader-default_de8929d96064b0d0
+
+ERROR in ./app.ts 2:1
+Module parse failed: Unexpected token (2:1)
+File was processed with these loaders:
+ * ../../index.js
+You may need an additional loader to handle the result of these loaders.
+| var a;
+> == 0;
+|
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/es3/expectedOutput-4.4/bundle.js b/test/comparison-tests/es3/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..e719a9728
--- /dev/null
+++ b/test/comparison-tests/es3/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es3/expectedOutput-4.4/output.txt b/test/comparison-tests/es3/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..8b7271459
--- /dev/null
+++ b/test/comparison-tests/es3/expectedOutput-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 1.17 KiB [emitted] (name: main)
+./app.ts 29 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 1:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,7)[39m[22m
+[1m[31m TS1056: Accessors are only available when targeting ECMAScript 5 and higher.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/es3/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/es3/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..e719a9728
--- /dev/null
+++ b/test/comparison-tests/es3/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("({ get x() { return 1; } });\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es3/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/es3/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..0e2131fbb
--- /dev/null
+++ b/test/comparison-tests/es3/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.17 KiB [emitted] (name: main)
+./app.ts 29 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es5/expectedOutput-4.4/bundle.js b/test/comparison-tests/es5/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..723a294d6
--- /dev/null
+++ b/test/comparison-tests/es5/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es5/expectedOutput-4.4/output.txt b/test/comparison-tests/es5/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..5559e2498
--- /dev/null
+++ b/test/comparison-tests/es5/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.2 KiB [emitted] (name: main)
+./app.ts 63 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es5/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/es5/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..723a294d6
--- /dev/null
+++ b/test/comparison-tests/es5/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("({ get x() { return 1; } });\nvar mapsDontExistYet = new Map();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es5/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/es5/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..5559e2498
--- /dev/null
+++ b/test/comparison-tests/es5/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.2 KiB [emitted] (name: main)
+./app.ts 63 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es6/expectedOutput-4.4/bundle.js b/test/comparison-tests/es6/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..30d0ce06c
--- /dev/null
+++ b/test/comparison-tests/es6/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es6/expectedOutput-4.4/output.txt b/test/comparison-tests/es6/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..cf932ee1d
--- /dev/null
+++ b/test/comparison-tests/es6/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.17 KiB [emitted] (name: main)
+./app.ts 37 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es6/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/es6/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..30d0ce06c
--- /dev/null
+++ b/test/comparison-tests/es6/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("({ get x() { return 1; } });\nSymbol;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es6/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/es6/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..cf932ee1d
--- /dev/null
+++ b/test/comparison-tests/es6/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.17 KiB [emitted] (name: main)
+./app.ts 37 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..556a72b37
--- /dev/null
+++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/bundle.js
@@ -0,0 +1,284 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?");
+
+/***/ }),
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+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 */ \"d_ts\").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 ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?");
+
+/***/ }),
+
+/***/ "./c.ts":
+/*!**************!*\
+ !*** ./c.ts ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/ensure chunk */
+/******/ (() => {
+/******/ __webpack_require__.f = {};
+/******/ // This file contains only the entry chunk.
+/******/ // The chunk loading function for additional chunks
+/******/ __webpack_require__.e = (chunkId) => {
+/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
+/******/ __webpack_require__.f[key](chunkId, promises);
+/******/ return promises;
+/******/ }, []));
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/get javascript chunk filename */
+/******/ (() => {
+/******/ // This function allow to reference async chunks
+/******/ __webpack_require__.u = (chunkId) => {
+/******/ // return url for filenames based on template
+/******/ return "" + chunkId + ".bundle.js";
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/global */
+/******/ (() => {
+/******/ __webpack_require__.g = (function() {
+/******/ if (typeof globalThis === 'object') return globalThis;
+/******/ try {
+/******/ return this || new Function('return this')();
+/******/ } catch (e) {
+/******/ if (typeof window === 'object') return window;
+/******/ }
+/******/ })();
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/load script */
+/******/ (() => {
+/******/ var inProgress = {};
+/******/ // data-webpack is not used as build has no uniqueName
+/******/ // loadScript function to load a script via script tag
+/******/ __webpack_require__.l = (url, done, key, chunkId) => {
+/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
+/******/ var script, needAttach;
+/******/ if(key !== undefined) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ for(var i = 0; i < scripts.length; i++) {
+/******/ var s = scripts[i];
+/******/ if(s.getAttribute("src") == url) { script = s; break; }
+/******/ }
+/******/ }
+/******/ if(!script) {
+/******/ needAttach = true;
+/******/ script = document.createElement('script');
+/******/
+/******/ script.charset = 'utf-8';
+/******/ script.timeout = 120;
+/******/ if (__webpack_require__.nc) {
+/******/ script.setAttribute("nonce", __webpack_require__.nc);
+/******/ }
+/******/
+/******/ script.src = url;
+/******/ }
+/******/ inProgress[url] = [done];
+/******/ var onScriptComplete = (prev, event) => {
+/******/ // avoid mem leaks in IE.
+/******/ script.onerror = script.onload = null;
+/******/ clearTimeout(timeout);
+/******/ var doneFns = inProgress[url];
+/******/ delete inProgress[url];
+/******/ script.parentNode && script.parentNode.removeChild(script);
+/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
+/******/ if(prev) return prev(event);
+/******/ }
+/******/ ;
+/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
+/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
+/******/ script.onload = onScriptComplete.bind(null, script.onload);
+/******/ needAttach && document.head.appendChild(script);
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/publicPath */
+/******/ (() => {
+/******/ var scriptUrl;
+/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
+/******/ var document = __webpack_require__.g.document;
+/******/ if (!scriptUrl && document) {
+/******/ if (document.currentScript)
+/******/ scriptUrl = document.currentScript.src
+/******/ if (!scriptUrl) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
+/******/ }
+/******/ }
+/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
+/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
+/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
+/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
+/******/ __webpack_require__.p = scriptUrl;
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "main": 0
+/******/ };
+/******/
+/******/ __webpack_require__.f.j = (chunkId, promises) => {
+/******/ // JSONP chunk loading for javascript
+/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
+/******/ if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ // a Promise means "currently loading".
+/******/ if(installedChunkData) {
+/******/ promises.push(installedChunkData[2]);
+/******/ } else {
+/******/ if(true) { // all chunks have JS
+/******/ // setup Promise in chunk cache
+/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
+/******/ promises.push(installedChunkData[2] = promise);
+/******/
+/******/ // start chunk loading
+/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
+/******/ // create error before stack unwound to get useful stacktrace later
+/******/ var error = new Error();
+/******/ var loadingEnded = (event) => {
+/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
+/******/ installedChunkData = installedChunks[chunkId];
+/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
+/******/ if(installedChunkData) {
+/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ var realSrc = event && event.target && event.target.src;
+/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ error.name = 'ChunkLoadError';
+/******/ error.type = errorType;
+/******/ error.request = realSrc;
+/******/ installedChunkData[1](error);
+/******/ }
+/******/ }
+/******/ };
+/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
+/******/ } else installedChunks[chunkId] = 0;
+/******/ }
+/******/ }
+/******/ };
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ // no on chunks loaded
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var [chunkIds, moreModules, runtime] = data;
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkIds[i]] = 0;
+/******/ }
+/******/
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/d_ts.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/d_ts.bundle.js
new file mode 100644
index 000000000..891b07706
--- /dev/null
+++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/d_ts.bundle.js
@@ -0,0 +1,22 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+(self["webpackChunk"] = self["webpackChunk"] || []).push([["d_ts"],{
+
+/***/ "./d.ts":
+/*!**************!*\
+ !*** ./d.ts ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+"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-4.4/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..86e2f9aa7
--- /dev/null
+++ b/test/comparison-tests/es6codeSplitting/expectedOutput-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 12.7 KiB [emitted] (name: main)
+asset d_ts.bundle.js 925 bytes [emitted]
+runtime modules 5.95 KiB 7 modules
+cacheable modules 1.39 KiB
+ ./app.ts 1020 bytes [built] [code generated]
+ ./a.ts 100 bytes [built] [code generated]
+ ./b.ts 100 bytes [built] [code generated]
+ ./c.ts 100 bytes [built] [code generated]
+ ./d.ts 100 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..556a72b37
--- /dev/null
+++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,284 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./a.ts?");
+
+/***/ }),
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+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 */ \"d_ts\").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 ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?");
+
+/***/ }),
+
+/***/ "./c.ts":
+/*!**************!*\
+ !*** ./c.ts ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'c';\n\n\n//# sourceURL=webpack:///./c.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/******/ // expose the modules object (__webpack_modules__)
+/******/ __webpack_require__.m = __webpack_modules__;
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/ensure chunk */
+/******/ (() => {
+/******/ __webpack_require__.f = {};
+/******/ // This file contains only the entry chunk.
+/******/ // The chunk loading function for additional chunks
+/******/ __webpack_require__.e = (chunkId) => {
+/******/ return Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {
+/******/ __webpack_require__.f[key](chunkId, promises);
+/******/ return promises;
+/******/ }, []));
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/get javascript chunk filename */
+/******/ (() => {
+/******/ // This function allow to reference async chunks
+/******/ __webpack_require__.u = (chunkId) => {
+/******/ // return url for filenames based on template
+/******/ return "" + chunkId + ".bundle.js";
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/global */
+/******/ (() => {
+/******/ __webpack_require__.g = (function() {
+/******/ if (typeof globalThis === 'object') return globalThis;
+/******/ try {
+/******/ return this || new Function('return this')();
+/******/ } catch (e) {
+/******/ if (typeof window === 'object') return window;
+/******/ }
+/******/ })();
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/load script */
+/******/ (() => {
+/******/ var inProgress = {};
+/******/ // data-webpack is not used as build has no uniqueName
+/******/ // loadScript function to load a script via script tag
+/******/ __webpack_require__.l = (url, done, key, chunkId) => {
+/******/ if(inProgress[url]) { inProgress[url].push(done); return; }
+/******/ var script, needAttach;
+/******/ if(key !== undefined) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ for(var i = 0; i < scripts.length; i++) {
+/******/ var s = scripts[i];
+/******/ if(s.getAttribute("src") == url) { script = s; break; }
+/******/ }
+/******/ }
+/******/ if(!script) {
+/******/ needAttach = true;
+/******/ script = document.createElement('script');
+/******/
+/******/ script.charset = 'utf-8';
+/******/ script.timeout = 120;
+/******/ if (__webpack_require__.nc) {
+/******/ script.setAttribute("nonce", __webpack_require__.nc);
+/******/ }
+/******/
+/******/ script.src = url;
+/******/ }
+/******/ inProgress[url] = [done];
+/******/ var onScriptComplete = (prev, event) => {
+/******/ // avoid mem leaks in IE.
+/******/ script.onerror = script.onload = null;
+/******/ clearTimeout(timeout);
+/******/ var doneFns = inProgress[url];
+/******/ delete inProgress[url];
+/******/ script.parentNode && script.parentNode.removeChild(script);
+/******/ doneFns && doneFns.forEach((fn) => (fn(event)));
+/******/ if(prev) return prev(event);
+/******/ }
+/******/ ;
+/******/ var timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);
+/******/ script.onerror = onScriptComplete.bind(null, script.onerror);
+/******/ script.onload = onScriptComplete.bind(null, script.onload);
+/******/ needAttach && document.head.appendChild(script);
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/publicPath */
+/******/ (() => {
+/******/ var scriptUrl;
+/******/ if (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + "";
+/******/ var document = __webpack_require__.g.document;
+/******/ if (!scriptUrl && document) {
+/******/ if (document.currentScript)
+/******/ scriptUrl = document.currentScript.src
+/******/ if (!scriptUrl) {
+/******/ var scripts = document.getElementsByTagName("script");
+/******/ if(scripts.length) scriptUrl = scripts[scripts.length - 1].src
+/******/ }
+/******/ }
+/******/ // When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration
+/******/ // or pass an empty string ("") and set the __webpack_public_path__ variable from your code to use your own logic.
+/******/ if (!scriptUrl) throw new Error("Automatic publicPath is not supported in this browser");
+/******/ scriptUrl = scriptUrl.replace(/#.*$/, "").replace(/\?.*$/, "").replace(/\/[^\/]+$/, "/");
+/******/ __webpack_require__.p = scriptUrl;
+/******/ })();
+/******/
+/******/ /* webpack/runtime/jsonp chunk loading */
+/******/ (() => {
+/******/ // no baseURI
+/******/
+/******/ // object to store loaded and loading chunks
+/******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
+/******/ // [resolve, reject, Promise] = chunk loading, 0 = chunk loaded
+/******/ var installedChunks = {
+/******/ "main": 0
+/******/ };
+/******/
+/******/ __webpack_require__.f.j = (chunkId, promises) => {
+/******/ // JSONP chunk loading for javascript
+/******/ var installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;
+/******/ if(installedChunkData !== 0) { // 0 means "already installed".
+/******/
+/******/ // a Promise means "currently loading".
+/******/ if(installedChunkData) {
+/******/ promises.push(installedChunkData[2]);
+/******/ } else {
+/******/ if(true) { // all chunks have JS
+/******/ // setup Promise in chunk cache
+/******/ var promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));
+/******/ promises.push(installedChunkData[2] = promise);
+/******/
+/******/ // start chunk loading
+/******/ var url = __webpack_require__.p + __webpack_require__.u(chunkId);
+/******/ // create error before stack unwound to get useful stacktrace later
+/******/ var error = new Error();
+/******/ var loadingEnded = (event) => {
+/******/ if(__webpack_require__.o(installedChunks, chunkId)) {
+/******/ installedChunkData = installedChunks[chunkId];
+/******/ if(installedChunkData !== 0) installedChunks[chunkId] = undefined;
+/******/ if(installedChunkData) {
+/******/ var errorType = event && (event.type === 'load' ? 'missing' : event.type);
+/******/ var realSrc = event && event.target && event.target.src;
+/******/ error.message = 'Loading chunk ' + chunkId + ' failed.\n(' + errorType + ': ' + realSrc + ')';
+/******/ error.name = 'ChunkLoadError';
+/******/ error.type = errorType;
+/******/ error.request = realSrc;
+/******/ installedChunkData[1](error);
+/******/ }
+/******/ }
+/******/ };
+/******/ __webpack_require__.l(url, loadingEnded, "chunk-" + chunkId, chunkId);
+/******/ } else installedChunks[chunkId] = 0;
+/******/ }
+/******/ }
+/******/ };
+/******/
+/******/ // no prefetching
+/******/
+/******/ // no preloaded
+/******/
+/******/ // no HMR
+/******/
+/******/ // no HMR manifest
+/******/
+/******/ // no on chunks loaded
+/******/
+/******/ // install a JSONP callback for chunk loading
+/******/ var webpackJsonpCallback = (parentChunkLoadingFunction, data) => {
+/******/ var [chunkIds, moreModules, runtime] = data;
+/******/ // add "moreModules" to the modules object,
+/******/ // then flag all "chunkIds" as loaded and fire callback
+/******/ var moduleId, chunkId, i = 0;
+/******/ for(moduleId in moreModules) {
+/******/ if(__webpack_require__.o(moreModules, moduleId)) {
+/******/ __webpack_require__.m[moduleId] = moreModules[moduleId];
+/******/ }
+/******/ }
+/******/ if(runtime) var result = runtime(__webpack_require__);
+/******/ if(parentChunkLoadingFunction) parentChunkLoadingFunction(data);
+/******/ for(;i < chunkIds.length; i++) {
+/******/ chunkId = chunkIds[i];
+/******/ if(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {
+/******/ installedChunks[chunkId][0]();
+/******/ }
+/******/ installedChunks[chunkIds[i]] = 0;
+/******/ }
+/******/
+/******/ }
+/******/
+/******/ var chunkLoadingGlobal = self["webpackChunk"] = self["webpackChunk"] || [];
+/******/ chunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));
+/******/ chunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/d_ts.bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/d_ts.bundle.js
new file mode 100644
index 000000000..891b07706
--- /dev/null
+++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/d_ts.bundle.js
@@ -0,0 +1,22 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+(self["webpackChunk"] = self["webpackChunk"] || []).push([["d_ts"],{
+
+/***/ "./d.ts":
+/*!**************!*\
+ !*** ./d.ts ***!
+ \**************/
+/***/ ((__unused_webpack_module, exports) => {
+
+"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-4.4/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..86e2f9aa7
--- /dev/null
+++ b/test/comparison-tests/es6codeSplitting/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 12.7 KiB [emitted] (name: main)
+asset d_ts.bundle.js 925 bytes [emitted]
+runtime modules 5.95 KiB 7 modules
+cacheable modules 1.39 KiB
+ ./app.ts 1020 bytes [built] [code generated]
+ ./a.ts 100 bytes [built] [code generated]
+ ./b.ts 100 bytes [built] [code generated]
+ ./c.ts 100 bytes [built] [code generated]
+ ./d.ts 100 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es6withCJS/expectedOutput-4.4/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..9c3bdc39e
--- /dev/null
+++ b/test/comparison-tests/es6withCJS/expectedOutput-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es6withCJS/expectedOutput-4.4/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..cbf72e7e5
--- /dev/null
+++ b/test/comparison-tests/es6withCJS/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.3 KiB [emitted] (name: main)
+./app.ts 100 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..9c3bdc39e
--- /dev/null
+++ b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'a';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..cbf72e7e5
--- /dev/null
+++ b/test/comparison-tests/es6withCJS/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.3 KiB [emitted] (name: main)
+./app.ts 100 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/externals/expectedOutput-4.4/bundle.js b/test/comparison-tests/externals/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..b2de0ae25
--- /dev/null
+++ b/test/comparison-tests/externals/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "hello":
+/*!************************!*\
+ !*** external "hello" ***!
+ \************************/
+/***/ ((module) => {
+
+module.exports = hello;
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/externals/expectedOutput-4.4/output.txt b/test/comparison-tests/externals/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..3c6f9e439
--- /dev/null
+++ b/test/comparison-tests/externals/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.4 KiB [emitted] (name: main)
+./app.ts 106 bytes [built] [code generated]
+external "hello" 42 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/externals/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..f1d997111
--- /dev/null
+++ b/test/comparison-tests/externals/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar hello = __webpack_require__(/*! hello */ \"hello\");\nvar msg = hello.sayHello('World');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "hello":
+/*!************************!*\
+ !*** external "hello" ***!
+ \************************/
+/***/ ((module) => {
+
+module.exports = hello;
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/externals/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/externals/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..6270519a4
--- /dev/null
+++ b/test/comparison-tests/externals/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.44 KiB [emitted] (name: main)
+./app.ts 142 bytes [built] [code generated]
+external "hello" 42 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.4/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..22aaaf895
--- /dev/null
+++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.4/bundle.js
@@ -0,0 +1,57 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((module, exports) => {
+
+eval("\nexports.Foo = void 0;\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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.4/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..a6aded512
--- /dev/null
+++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 2.36 KiB [emitted] (name: main)
+./app.ts 278 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 9:4-5
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(9,5)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'Number'.[39m[22m
+ts-loader-default_2830fdd0bda34e31
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..22aaaf895
--- /dev/null
+++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,57 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((module, exports) => {
+
+eval("\nexports.Foo = void 0;\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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module is referenced by other modules so it can't be inlined
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..822440b04
--- /dev/null
+++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 2.36 KiB [emitted] (name: main)
+./app.ts 278 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.4/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/importsWatch/expectedOutput-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.4/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/importsWatch/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/importsWatch/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..3df43a154
--- /dev/null
+++ b/test/comparison-tests/importsWatch/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 4:0-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(4,1)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'boolean'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/instance/expectedOutput-4.4/err.txt b/test/comparison-tests/instance/expectedOutput-4.4/err.txt
new file mode 100644
index 000000000..951af1b57
--- /dev/null
+++ b/test/comparison-tests/instance/expectedOutput-4.4/err.txt
@@ -0,0 +1 @@
+Error: Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b)
\ No newline at end of file
diff --git a/test/comparison-tests/instance/expectedOutput-transpile-4.4/err.txt b/test/comparison-tests/instance/expectedOutput-transpile-4.4/err.txt
new file mode 100644
index 000000000..951af1b57
--- /dev/null
+++ b/test/comparison-tests/instance/expectedOutput-transpile-4.4/err.txt
@@ -0,0 +1 @@
+Error: Conflict: Multiple chunks emit assets to the same filename bundle.js (chunks a and b)
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-4.4/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..ddd22941f
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./foo.ts":
+/*!****************!*\
+ !*** ./foo.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-4.4/output.txt b/test/comparison-tests/issue372/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..31d967edd
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.87 KiB [emitted] (name: main)
+./app.ts 110 bytes [built] [code generated]
+./foo.ts 110 bytes [built] [code generated]
+./node_modules/a/index.js 21 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..88de408ab
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./foo.ts":
+/*!****************!*\
+ !*** ./foo.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..a0fb16197
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.88 KiB [emitted] (name: main)
+cached modules 131 bytes [cached] 2 modules
+./app.ts 117 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..217f4c67a
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./foo.ts":
+/*!****************!*\
+ !*** ./foo.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e939cb4c1
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.95 KiB [emitted] (name: main)
+./app.ts 146 bytes [built] [code generated]
+./foo.ts 146 bytes [built] [code generated]
+./node_modules/a/index.js 21 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..f619297f8
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./foo.ts\");\nvar foo;\nfoo.bar = 'foobar_patch0' + foo_1.s;\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./foo.ts":
+/*!****************!*\
+ !*** ./foo.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.s = void 0;\nvar sString = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nexports.s = sString;\n\n\n//# sourceURL=webpack:///./foo.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue372/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..4af4428a6
--- /dev/null
+++ b/test/comparison-tests/issue372/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.95 KiB [emitted] (name: main)
+cached modules 167 bytes [cached] 2 modules
+./app.ts 153 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-4.4/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-4.4/output.txt b/test/comparison-tests/issue441/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..57922d760
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,33 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"](0, __webpack_exports__);
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..600abd410
--- /dev/null
+++ b/test/comparison-tests/issue441/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.27 KiB [emitted] (name: main)
+./app.ts 70 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/issue71/expectedOutput-4.4/bundle.js b/test/comparison-tests/issue71/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..87a4348be
--- /dev/null
+++ b/test/comparison-tests/issue71/expectedOutput-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nvar b = __webpack_require__(/*! ./b */ \"./b.ts\");\nconsole.log(a);\nconsole.log(b);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./b.ts":
+/*!**************!*\
+ !*** ./b.ts ***!
+ \**************/
+/***/ ((module) => {
+
+"use strict";
+eval("\nmodule.exports = 'b';\n\n\n//# sourceURL=webpack:///./b.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/issue71/expectedOutput-4.4/output.txt b/test/comparison-tests/issue71/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..35f2f62c9
--- /dev/null
+++ b/test/comparison-tests/issue71/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.75 KiB [emitted] (name: main)
+./app.ts 119 bytes [built] [code generated]
+./node_modules/a/index.js 21 bytes [built] [code generated]
+./b.ts 36 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.4/bundle.js b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..da47126d9
--- /dev/null
+++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.4/bundle.js
@@ -0,0 +1,118 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_es5__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule-es5 */ \"./submodule-es5/index.ts\");\n/* harmony import */ var _submodule_es5__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_submodule_es5__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _submodule_es6__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./submodule-es6 */ \"./submodule-es6/index.ts\");\n/* harmony import */ var _submodule_es6__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_submodule_es6__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule-es6/index.ts":
+/*!********************************!*\
+ !*** ./submodule-es6/index.ts ***!
+ \********************************/
+/***/ (() => {
+
+eval("const set = new Set([42]);\nfor (const value of set) {\n console.log(value);\n}\nconst string = 'Hello from es6 file';\nconsole.log(string);\n\n\n//# sourceURL=webpack:///./submodule-es6/index.ts?");
+
+/***/ }),
+
+/***/ "./submodule-es5/index.ts":
+/*!********************************!*\
+ !*** ./submodule-es5/index.ts ***!
+ \********************************/
+/***/ (() => {
+
+eval("var string = 'Hello from es5 file';\nconsole.log(string);\n\n\n//# sourceURL=webpack:///./submodule-es5/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/compat get default export */
+/******/ (() => {
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = (module) => {
+/******/ var getter = module && module.__esModule ?
+/******/ () => (module['default']) :
+/******/ () => (module);
+/******/ __webpack_require__.d(getter, { a: getter });
+/******/ return getter;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.4/output.txt b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..a92f3bd68
--- /dev/null
+++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.4/output.txt
@@ -0,0 +1,7 @@
+asset bundle.js 5.08 KiB [emitted] (name: main)
+runtime modules 937 bytes 4 modules
+cacheable modules 248 bytes
+ ./app.ts 52 bytes [built] [code generated]
+ ./submodule-es5/index.ts 57 bytes [built] [code generated]
+ ./submodule-es6/index.ts 139 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..da47126d9
--- /dev/null
+++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,118 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+"use strict";
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _submodule_es5__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./submodule-es5 */ \"./submodule-es5/index.ts\");\n/* harmony import */ var _submodule_es5__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_submodule_es5__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _submodule_es6__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./submodule-es6 */ \"./submodule-es6/index.ts\");\n/* harmony import */ var _submodule_es6__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(_submodule_es6__WEBPACK_IMPORTED_MODULE_1__);\n\n\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule-es6/index.ts":
+/*!********************************!*\
+ !*** ./submodule-es6/index.ts ***!
+ \********************************/
+/***/ (() => {
+
+eval("const set = new Set([42]);\nfor (const value of set) {\n console.log(value);\n}\nconst string = 'Hello from es6 file';\nconsole.log(string);\n\n\n//# sourceURL=webpack:///./submodule-es6/index.ts?");
+
+/***/ }),
+
+/***/ "./submodule-es5/index.ts":
+/*!********************************!*\
+ !*** ./submodule-es5/index.ts ***!
+ \********************************/
+/***/ (() => {
+
+eval("var string = 'Hello from es5 file';\nconsole.log(string);\n\n\n//# sourceURL=webpack:///./submodule-es5/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/compat get default export */
+/******/ (() => {
+/******/ // getDefaultExport function for compatibility with non-harmony modules
+/******/ __webpack_require__.n = (module) => {
+/******/ var getter = module && module.__esModule ?
+/******/ () => (module['default']) :
+/******/ () => (module);
+/******/ __webpack_require__.d(getter, { a: getter });
+/******/ return getter;
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..a92f3bd68
--- /dev/null
+++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,7 @@
+asset bundle.js 5.08 KiB [emitted] (name: main)
+runtime modules 937 bytes 4 modules
+cacheable modules 248 bytes
+ ./app.ts 52 bytes [built] [code generated]
+ ./submodule-es5/index.ts 57 bytes [built] [code generated]
+ ./submodule-es6/index.ts 139 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.4/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..9dd91832e
--- /dev/null
+++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./fake.ts":
+/*!*****************!*\
+ !*** ./fake.ts ***!
+ \*****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.4/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..83eacef8c
--- /dev/null
+++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 2.58 KiB [emitted] (name: main)
+./app.ts 101 bytes [built] [code generated] [1 error]
+./fake.ts 160 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 1:29-34
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,30)[39m[22m
+[1m[31m TS2307: Cannot find module 'api' or its corresponding type declarations.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..f078d7e75
--- /dev/null
+++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar myComponent = __webpack_require__(/*! api */ \"./fake.ts\");\nconsole.log(myComponent);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./fake.ts":
+/*!*****************!*\
+ !*** ./fake.ts ***!
+ \*****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.sayHello = void 0;\nfunction sayHello(name) {\n return \"Hello, \" + name + \"!\";\n}\nexports.sayHello = sayHello;\n\n\n//# sourceURL=webpack:///./fake.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..1a8b12236
--- /dev/null
+++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+./app.ts 137 bytes [built] [code generated]
+./fake.ts 196 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/node/expectedOutput-4.4/bundle.js b/test/comparison-tests/node/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..c77d36a54
--- /dev/null
+++ b/test/comparison-tests/node/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/node/expectedOutput-4.4/output.txt b/test/comparison-tests/node/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..f1167600a
--- /dev/null
+++ b/test/comparison-tests/node/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.2 KiB [emitted] (name: main)
+./app.ts 67 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/node/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/node/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..c77d36a54
--- /dev/null
+++ b/test/comparison-tests/node/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("/// \n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/node/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/node/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..f1167600a
--- /dev/null
+++ b/test/comparison-tests/node/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.2 KiB [emitted] (name: main)
+./app.ts 67 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.4/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..d2bf095a3
--- /dev/null
+++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.ts":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.ts ***!
+ \*********************************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules./nYou should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option./nSee: https://github.com/Microsoft/TypeScript/issues/12358/n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.4/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..8c34a7b74
--- /dev/null
+++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 3.1 KiB [emitted] (name: main)
+./app.ts 79 bytes [built] [code generated]
+./node_modules/a/index.ts 39 bytes [built] [code generated]
+
+ERROR in ./node_modules/a/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for node_modules/a/index.ts. By default, ts-loader will not compile .ts files in node_modules.
+You should not need to recompile .ts files there, but if you really want to, use the allowTsInNodeModules option.
+See: https://github.com/Microsoft/TypeScript/issues/12358
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:8-20
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..512b519ac
--- /dev/null
+++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.ts":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.ts ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("\nvar elephant = \"In the room\";\nmodule.exports = elephant;\n\n\n//# sourceURL=webpack:///./node_modules/a/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..44285b448
--- /dev/null
+++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.58 KiB [emitted] (name: main)
+./app.ts 115 bytes [built] [code generated]
+./node_modules/a/index.ts 71 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/nodeResolution/expectedOutput-4.4/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..b70422d74
--- /dev/null
+++ b/test/comparison-tests/nodeResolution/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/nodeResolution/expectedOutput-4.4/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..ccef1e6be
--- /dev/null
+++ b/test/comparison-tests/nodeResolution/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.49 KiB [emitted] (name: main)
+./app.ts 79 bytes [built] [code generated]
+./node_modules/a/index.js 21 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..7b6d58fa2
--- /dev/null
+++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! a */ \"./node_modules/a/index.js\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./node_modules/a/index.js":
+/*!*********************************!*\
+ !*** ./node_modules/a/index.js ***!
+ \*********************************/
+/***/ ((module) => {
+
+eval("module.exports = 'a';\n\n//# sourceURL=webpack:///./node_modules/a/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..2f1f20b4e
--- /dev/null
+++ b/test/comparison-tests/nodeResolution/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.53 KiB [emitted] (name: main)
+./app.ts 115 bytes [built] [code generated]
+./node_modules/a/index.js 21 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/nolib/expectedOutput-4.4/bundle.js b/test/comparison-tests/nolib/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..3ce7e9e39
--- /dev/null
+++ b/test/comparison-tests/nolib/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/nolib/expectedOutput-4.4/output.txt b/test/comparison-tests/nolib/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..4ce2af3ba
--- /dev/null
+++ b/test/comparison-tests/nolib/expectedOutput-4.4/output.txt
@@ -0,0 +1,47 @@
+asset bundle.js 1.15 KiB [emitted] (name: main)
+./app.ts 16 bytes [built] [code generated] [1 error]
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'Array'.[39m[22m
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'Boolean'.[39m[22m
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'Function'.[39m[22m
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'IArguments'.[39m[22m
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'Number'.[39m[22m
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'Object'.[39m[22m
+
+ERROR in tsconfig.json
+tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS2318: Cannot find global type 'RegExp'.[39m[22m
+
+ERROR in app.ts
+./app.ts 1:0-8
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(1,1)[39m[22m
+[1m[31m TS2304: Cannot find name 'parseInt'.[39m[22m
+
+8 errors have detailed information that is not shown.
+Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
+
+webpack compiled with 8 errors
\ No newline at end of file
diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/nolib/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..3ce7e9e39
--- /dev/null
+++ b/test/comparison-tests/nolib/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("parseInt('10');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/nolib/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/nolib/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e8a75468e
--- /dev/null
+++ b/test/comparison-tests/nolib/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.15 KiB [emitted] (name: main)
+./app.ts 16 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/npmLink/expectedOutput-4.4/bundle.js b/test/comparison-tests/npmLink/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..072b8ae90
--- /dev/null
+++ b/test/comparison-tests/npmLink/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1[\"default\"]);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../../test/comparison-tests/testLib/foo.ts":
+/*!**************************************************!*\
+ !*** ../../test/comparison-tests/testLib/foo.ts ***!
+ \**************************************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:///../../test/comparison-tests/testLib/foo.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/npmLink/expectedOutput-4.4/output.txt b/test/comparison-tests/npmLink/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..fbc913f32
--- /dev/null
+++ b/test/comparison-tests/npmLink/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+./app.ts 104 bytes [built] [code generated]
+../../test/comparison-tests/testLib/foo.ts 69 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/npmLink/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..aebcb1146
--- /dev/null
+++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar foo_1 = __webpack_require__(/*! lib/foo */ \"../../test/comparison-tests/testLib/foo.ts\");\nconsole.log(foo_1.default);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../../test/comparison-tests/testLib/foo.ts":
+/*!**************************************************!*\
+ !*** ../../test/comparison-tests/testLib/foo.ts ***!
+ \**************************************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.default = 'foo';\n\n\n//# sourceURL=webpack:///../../test/comparison-tests/testLib/foo.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/npmLink/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/npmLink/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..a1611b2a2
--- /dev/null
+++ b/test/comparison-tests/npmLink/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.76 KiB [emitted] (name: main)
+./app.ts 137 bytes [built] [code generated]
+../../test/comparison-tests/testLib/foo.ts 102 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..37e4d4420
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..5bfac7662
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.11 KiB [emitted] (name: main)
+./app.ts 169 bytes [built] [code generated]
+./submodule/submodule.ts 149 bytes [built] [code generated]
+./lib/externalLib.js 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..5ad5bf01e
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..d8fb7fc3e
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 3.11 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 170 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 3:12-24
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,13)[39m[22m
+[1m[31m TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'?[39m[22m
+ts-loader-default_5848564071297d45
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..37e4d4420
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..644f4a81e
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.11 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..ad95915fb
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..f70cc859f
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.15 KiB [emitted] (name: main)
+./app.ts 205 bytes [built] [code generated]
+./submodule/submodule.ts 149 bytes [built] [code generated]
+./lib/externalLib.js 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..b048c8aec
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething2(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..867f89175
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.15 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 206 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..ad95915fb
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar submodule = __webpack_require__(/*! ./submodule/submodule */ \"./submodule/submodule.ts\");\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(submodule);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./submodule/submodule.ts":
+/*!********************************!*\
+ !*** ./submodule/submodule.ts ***!
+ \********************************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+"use strict";
+eval("\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething(\"\");\nvar message = \"Hello from submodule\";\nmodule.exports = message;\n\n\n//# sourceURL=webpack:///./submodule/submodule.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..f3f31b8c1
--- /dev/null
+++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.15 KiB [emitted] (name: main)
+cached modules 204 bytes [cached] 2 modules
+./app.ts 205 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..01399793c
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./message.ts":
+/*!********************!*\
+ !*** ./message.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..3e59a3d86
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.55 KiB [emitted] (name: main)
+./app.ts 111 bytes [built] [code generated]
+./message.ts 102 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..01399793c
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./message.ts":
+/*!********************!*\
+ !*** ./message.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..c0ed49488
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.55 KiB [emitted] (name: main)
+cached modules 102 bytes [cached] 1 module
+./app.ts 111 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..01399793c
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./message.ts":
+/*!********************!*\
+ !*** ./message.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..2d1d45310
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.55 KiB [emitted] (name: main)
+./app.ts 111 bytes [built]
+./message.ts 102 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..f8dc1f3c9
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./message.ts":
+/*!********************!*\
+ !*** ./message.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..23252ce06
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.63 KiB [emitted] (name: main)
+./app.ts 147 bytes [built] [code generated]
+./message.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..f8dc1f3c9
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./message.ts":
+/*!********************!*\
+ !*** ./message.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..12f23a6ae
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.63 KiB [emitted] (name: main)
+cached modules 138 bytes [cached] 1 module
+./app.ts 147 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..f8dc1f3c9
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar message_1 = __webpack_require__(/*! ./message */ \"./message.ts\");\nconsole.log(message_1.message);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./message.ts":
+/*!********************!*\
+ !*** ./message.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.message = void 0;\nexports.message = 'Hello, world!';\n\n\n//# sourceURL=webpack:///./message.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..b39eac88f
--- /dev/null
+++ b/test/comparison-tests/otherLoadersWatch/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.63 KiB [emitted] (name: main)
+cached modules 147 bytes [cached] 1 module
+./message.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/production/expectedOutput-4.4/output.txt b/test/comparison-tests/production/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..2a8a489b7
--- /dev/null
+++ b/test/comparison-tests/production/expectedOutput-4.4/output.txt
@@ -0,0 +1,10 @@
+assets by status 0 bytes [cached] 1 asset
+./app.ts 27 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 4:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(4,1)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/production/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/production/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..6f96efcb4
--- /dev/null
+++ b/test/comparison-tests/production/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 0 bytes [emitted] [minimized] (name: main)
+./app.ts 27 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferences/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..acae53107
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferences/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..c81f04767
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/index.js
new file mode 100644
index 000000000..c561b2cc0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 30;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1553fe027
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/indirectWithError/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a4b0e9c09
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/indirectWithError/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a4b0e9c09
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..cc6b87d20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/output.txt
@@ -0,0 +1,49 @@
+assets by path common/ 1.2 KiB
+ asset common/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset common/index.js 128 bytes [compared for emit]
+ asset common/index.d.ts 42 bytes [compared for emit]
+assets by path unreferenced/ 1.24 KiB
+ asset unreferenced/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset unreferenced/index.js 169 bytes [compared for emit]
+ asset unreferenced/index.d.ts 48 bytes [compared for emit]
+assets by path unreferencedIndirect/ 1.29 KiB
+ asset unreferencedIndirect/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset unreferencedIndirect/index.js 209 bytes [compared for emit]
+ asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit]
+asset bundle.js 3.65 KiB [emitted] (name: main)
+asset indirectWithError/tsconfig.tsbuildinfo 1.31 KiB [compared for emit]
+asset lib/tsconfig.tsbuildinfo 1.31 KiB [compared for emit]
+./app.ts 187 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+./utils/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in ./utils/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 4:14-32
+
+ERROR in lib/fileWithError.ts
+2:4-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/fileWithError.ts(2,5)[39m[22m
+[1m[31m TS2322: Type 'boolean' is not assignable to type 'string'.[39m[22m
+
+ERROR in indirectWithError/fileWithError.ts
+2:4-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mindirectWithError/fileWithError.ts(2,5)[39m[22m
+[1m[31m TS2322: Type 'boolean' is not assignable to type 'string'.[39m[22m
+
+2 errors have detailed information that is not shown.
+Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
+
+webpack compiled with 4 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..d9f42069b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/fileWithError.d.ts
new file mode 100644
index 000000000..27e069e94
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/fileWithError.d.ts
@@ -0,0 +1 @@
+export declare function foo(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/fileWithError.js
new file mode 100644
index 000000000..4cd8719c8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/fileWithError.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.foo = void 0;
+function foo() {
+ return "hello world";
+}
+exports.foo = foo;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a9c0c47fc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..31f43903f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,29 @@
+assets by status 369 bytes [compared for emit]
+ assets by path lib/*.js 246 bytes
+ asset lib/fileWithError.js 127 bytes [compared for emit]
+ asset lib/index.js 119 bytes [compared for emit]
+ assets by path lib/*.ts 123 bytes
+ asset lib/index.d.ts 84 bytes [compared for emit]
+ asset lib/fileWithError.d.ts 39 bytes [compared for emit]
+assets by status 4.56 KiB [emitted]
+ asset bundle.js 3.35 KiB [emitted] (name: main)
+ asset lib/tsconfig.tsbuildinfo 1.21 KiB [emitted]
+./app.ts 187 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+./utils/index.ts 39 bytes [built] [1 error]
+
+ERROR in ./utils/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 4:14-32
+
+ERROR in indirectWithError/fileWithError.ts
+2:4-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mindirectWithError/fileWithError.ts(2,5)[39m[22m
+[1m[31m TS2322: Type 'boolean' is not assignable to type 'string'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..c521cc09a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/fileWithError.d.ts
new file mode 100644
index 000000000..27e069e94
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/fileWithError.d.ts
@@ -0,0 +1 @@
+export declare function foo(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/fileWithError.js
new file mode 100644
index 000000000..215cdeb2a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/fileWithError.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.foo = void 0;
+function foo() {
+ return "hello i fixed this error";
+}
+exports.foo = foo;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e10c305b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/indirectWithError/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..387c722a9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,20 @@
+assets by status 1.73 KiB [compared for emit]
+ assets by path indirectWithError/ 382 bytes
+ assets by path indirectWithError/*.js 259 bytes
+ asset indirectWithError/fileWithError.js 140 bytes [compared for emit]
+ asset indirectWithError/index.js 119 bytes [compared for emit]
+ assets by path indirectWithError/*.ts 123 bytes
+ asset indirectWithError/index.d.ts 84 bytes [compared for emit]
+ asset indirectWithError/fileWithError.d.ts 39 bytes [compared for emit]
+ assets by path utils/ 1.36 KiB
+ asset utils/tsconfig.tsbuildinfo 1.15 KiB [compared for emit]
+ asset utils/index.js 174 bytes [compared for emit]
+ asset utils/index.d.ts 39 bytes [compared for emit]
+assets by status 4.7 KiB [emitted]
+ asset bundle.js 3.49 KiB [emitted] (name: main)
+ asset indirectWithError/tsconfig.tsbuildinfo 1.21 KiB [emitted]
+cached modules 119 bytes [cached] 1 module
+./app.ts 187 bytes [built] [code generated]
+./utils/index.ts 174 bytes [built] [code generated]
+./common/index.ts 128 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/index.d.ts
new file mode 100644
index 000000000..590545c75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/index.d.ts
@@ -0,0 +1 @@
+export declare function utils(): void;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/index.js
new file mode 100644
index 000000000..126060be6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..861743318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch1/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb","4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..c521cc09a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..4110bf30e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,7 @@
+asset bundle.js 3.49 KiB [emitted] (name: main)
+asset unreferenced/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset unreferenced/index.js 183 bytes [emitted]
+asset unreferenced/index.d.ts 48 bytes [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 187 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/index.d.ts
new file mode 100644
index 000000000..cd1cc7776
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferenced(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/index.js
new file mode 100644
index 000000000..184fe4303
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferenced = void 0;
+function unreferenced() {
+ return "i am unreferenced without error";
+}
+exports.unreferenced = unreferenced;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..798c1e243
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch2/unreferenced/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"bb8ba6128be1271d91fd80319ca81516b664c6a68b5409b2991f70018b6c9e67","signature":"0de8093b7e96f737fa6d441f6d79e8ace62ba5d74bf9324a08fb773d8d32fc6d"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/bundle.js
new file mode 100644
index 000000000..c521cc09a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..ef2e77918
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,12 @@
+asset bundle.js 3.49 KiB [emitted] (name: main)
+asset unreferencedIndirect/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 187 bytes [built] [code generated]
+
+ERROR in unreferencedIndirect/index.ts
+2:2-50
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36munreferencedIndirect/index.ts(2,3)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/unreferencedIndirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..abd4264e4
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch3/unreferencedIndirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c","signature":"2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":51,"length":48,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/bundle.js
new file mode 100644
index 000000000..c521cc09a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..9f0aa2066
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,7 @@
+asset bundle.js 3.49 KiB [emitted] (name: main)
+asset unreferencedIndirect/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset unreferencedIndirect/index.js 225 bytes [emitted]
+asset unreferencedIndirect/index.d.ts 56 bytes [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 187 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/index.d.ts
new file mode 100644
index 000000000..a9c923d2a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferencedIndirect(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/index.js
new file mode 100644
index 000000000..44db5b50e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferencedIndirect = void 0;
+function unreferencedIndirect() {
+ return "i am unreferencedIndirect now fixed error";
+}
+exports.unreferencedIndirect = unreferencedIndirect;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..78dfa7ff5
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch4/unreferencedIndirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/bundle.js
new file mode 100644
index 000000000..c521cc09a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..52064cfb5
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,12 @@
+asset bundle.js 3.49 KiB [emitted] (name: main)
+asset unreferenced/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 187 bytes [built] [code generated]
+
+ERROR in unreferenced/index.ts
+2:2-40
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36munreferenced/index.ts(2,3)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/unreferenced/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c7657ad33
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/patch5/unreferenced/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1","signature":"2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":43,"length":38,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/index.d.ts
new file mode 100644
index 000000000..cd1cc7776
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferenced(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/index.js
new file mode 100644
index 000000000..2a6e4b7c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferenced = void 0;
+function unreferenced() {
+ return "i am unreferenced";
+}
+exports.unreferenced = unreferenced;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..0c471b547
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferenced/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/index.d.ts
new file mode 100644
index 000000000..a9c923d2a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferencedIndirect(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/index.js
new file mode 100644
index 000000000..87bc79753
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferencedIndirect = void 0;
+function unreferencedIndirect() {
+ return "i am unreferencedIndirect";
+}
+exports.unreferencedIndirect = unreferencedIndirect;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d49b3f2e5
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.4/unreferencedIndirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..262b1da66
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/index.js
new file mode 100644
index 000000000..c561b2cc0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 30;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1553fe027
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/indirectWithError/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a4b0e9c09
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/indirectWithError/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a4b0e9c09
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"91f3e5980bd5693ad3967c8f676eb12a37b89180be92e6fa904374132ff8920c","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./fileWithError.ts","start":36,"length":13,"code":2322,"category":1,"messageText":"Type 'boolean' is not assignable to type 'string'."}]],7,1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[7,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..55c005b84
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,47 @@
+assets by path common/ 1.2 KiB
+ asset common/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset common/index.js 128 bytes [compared for emit]
+ asset common/index.d.ts 42 bytes [compared for emit]
+assets by path unreferenced/ 1.24 KiB
+ asset unreferenced/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset unreferenced/index.js 169 bytes [compared for emit]
+ asset unreferenced/index.d.ts 48 bytes [compared for emit]
+assets by path unreferencedIndirect/ 1.29 KiB
+ asset unreferencedIndirect/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset unreferencedIndirect/index.js 209 bytes [compared for emit]
+ asset unreferencedIndirect/index.d.ts 56 bytes [compared for emit]
+asset bundle.js 3.7 KiB [emitted] (name: main)
+asset indirectWithError/tsconfig.tsbuildinfo 1.31 KiB [compared for emit]
+asset lib/tsconfig.tsbuildinfo 1.31 KiB [compared for emit]
+./app.ts 223 bytes [built] [code generated] [2 errors]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+./utils/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 2:4-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mindirectWithError/fileWithError.ts(2,5)[39m[22m
+[1m[31m TS2322: Type 'boolean' is not assignable to type 'string'.[39m[22m
+
+ERROR in ./app.ts 2:4-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/fileWithError.ts(2,5)[39m[22m
+[1m[31m TS2322: Type 'boolean' is not assignable to type 'string'.[39m[22m
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in ./utils/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 4:14-32
+
+2 errors have detailed information that is not shown.
+Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
+
+webpack compiled with 4 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..1852af9fc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,78 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesMultiple.transpile/utils/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/fileWithError.d.ts
new file mode 100644
index 000000000..27e069e94
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/fileWithError.d.ts
@@ -0,0 +1 @@
+export declare function foo(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/fileWithError.js
new file mode 100644
index 000000000..4cd8719c8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/fileWithError.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.foo = void 0;
+function foo() {
+ return "hello world";
+}
+exports.foo = foo;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a9c0c47fc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"0dda94f9fb4df4c74ff92d8109d8db2122e4c980bb13857b2a538c2ac0b33c64","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..d17bfcb3a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,28 @@
+assets by status 369 bytes [compared for emit]
+ assets by path lib/*.js 246 bytes
+ asset lib/fileWithError.js 127 bytes [compared for emit]
+ asset lib/index.js 119 bytes [compared for emit]
+ assets by path lib/*.ts 123 bytes
+ asset lib/index.d.ts 84 bytes [compared for emit]
+ asset lib/fileWithError.d.ts 39 bytes [compared for emit]
+assets by status 4.6 KiB [emitted]
+ asset bundle.js 3.4 KiB [emitted] (name: main)
+ asset lib/tsconfig.tsbuildinfo 1.21 KiB [emitted]
+./app.ts 223 bytes [built] [code generated] [1 error]
+./lib/index.ts 119 bytes [built] [code generated]
+./utils/index.ts 39 bytes [built] [1 error]
+
+ERROR in ./app.ts 2:4-17
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mindirectWithError/fileWithError.ts(2,5)[39m[22m
+[1m[31m TS2322: Type 'boolean' is not assignable to type 'string'.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+ERROR in ./utils/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for utils/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 4:14-32
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..4f8d5cfa0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/fileWithError.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/fileWithError.d.ts
new file mode 100644
index 000000000..27e069e94
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/fileWithError.d.ts
@@ -0,0 +1 @@
+export declare function foo(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/fileWithError.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/fileWithError.js
new file mode 100644
index 000000000..215cdeb2a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/fileWithError.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.foo = void 0;
+function foo() {
+ return "hello i fixed this error";
+}
+exports.foo = foo;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e10c305b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/indirectWithError/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./fileWithError.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"e8c36f5bf4681d8c0c1866ed04f823e66548c8a788b325b672026efb17e9a384","signature":"3dee7bbd2b685bdcb66cfc9b45605d6689ea42852231fa79cac9a40643c0fa22"},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..8c2324a11
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,20 @@
+assets by status 1.73 KiB [compared for emit]
+ assets by path indirectWithError/ 382 bytes
+ assets by path indirectWithError/*.js 259 bytes
+ asset indirectWithError/fileWithError.js 140 bytes [compared for emit]
+ asset indirectWithError/index.js 119 bytes [compared for emit]
+ assets by path indirectWithError/*.ts 123 bytes
+ asset indirectWithError/index.d.ts 84 bytes [compared for emit]
+ asset indirectWithError/fileWithError.d.ts 39 bytes [compared for emit]
+ assets by path utils/ 1.36 KiB
+ asset utils/tsconfig.tsbuildinfo 1.15 KiB [compared for emit]
+ asset utils/index.js 174 bytes [compared for emit]
+ asset utils/index.d.ts 39 bytes [compared for emit]
+assets by status 4.74 KiB [emitted]
+ asset bundle.js 3.53 KiB [emitted] (name: main)
+ asset indirectWithError/tsconfig.tsbuildinfo 1.21 KiB [emitted]
+cached modules 119 bytes [cached] 1 module
+./app.ts 223 bytes [built] [code generated]
+./utils/index.ts 174 bytes [built] [code generated]
+./common/index.ts 128 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/index.d.ts
new file mode 100644
index 000000000..590545c75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/index.d.ts
@@ -0,0 +1 @@
+export declare function utils(): void;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/index.js
new file mode 100644
index 000000000..126060be6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..861743318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch1/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb","4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/bundle.js
new file mode 100644
index 000000000..4f8d5cfa0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..b675840f7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,11 @@
+assets by status 3.53 KiB [cached] 1 asset
+asset unreferencedIndirect/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 223 bytes [built] [1 error]
+
+ERROR in ./app.ts 2:2-50
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36munreferencedIndirect/index.ts(2,3)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/unreferencedIndirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..abd4264e4
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch3/unreferencedIndirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"d442ceff036096362114a6b3c3fc728f2631155c62bd9f9a5ba0a282d1ff6b9c","signature":"2c1fe99ebadd28030971552c5b38142ab5a93ccb879983a2cecd1ab71d777dfd"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":51,"length":48,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/bundle.js
new file mode 100644
index 000000000..4f8d5cfa0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..46626dc0b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,7 @@
+assets by status 3.53 KiB [cached] 1 asset
+asset unreferencedIndirect/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset unreferencedIndirect/index.js 225 bytes [emitted]
+asset unreferencedIndirect/index.d.ts 56 bytes [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 223 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/index.d.ts
new file mode 100644
index 000000000..a9c923d2a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferencedIndirect(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/index.js
new file mode 100644
index 000000000..44db5b50e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferencedIndirect = void 0;
+function unreferencedIndirect() {
+ return "i am unreferencedIndirect now fixed error";
+}
+exports.unreferencedIndirect = unreferencedIndirect;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..78dfa7ff5
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch4/unreferencedIndirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"25e6889f7998ef0640339eb29cd18ffe0a26a90d6ab573c95601f51593801064","signature":"5081781ea12d9924e909db967d29184ff3e0b8ca05d30ef60b8d696e0b50013e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/bundle.js
new file mode 100644
index 000000000..4f8d5cfa0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ./utils */ \"./utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./common/index.ts":
+/*!*************************!*\
+ !*** ./common/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///./common/index.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ }),
+
+/***/ "./utils/index.ts":
+/*!************************!*\
+ !*** ./utils/index.ts ***!
+ \************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"./common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///./utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..60d1ae947
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,11 @@
+assets by status 3.53 KiB [cached] 1 asset
+asset unreferenced/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 421 bytes [cached] 3 modules
+./app.ts 223 bytes [built] [1 error]
+
+ERROR in ./app.ts 2:2-40
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36munreferenced/index.ts(2,3)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/unreferenced/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c7657ad33
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/patch5/unreferenced/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"a37fe63cb9341169cb1ad08e3df365ac56639ae5518c883090e0dee4941a2fe1","signature":"2a0d33199723c48fa395ddf78eb2f2b8ecbed53d595ec7e591dea65384d9588b"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":43,"length":38,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/index.d.ts
new file mode 100644
index 000000000..cd1cc7776
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferenced(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/index.js
new file mode 100644
index 000000000..2a6e4b7c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferenced = void 0;
+function unreferenced() {
+ return "i am unreferenced";
+}
+exports.unreferenced = unreferenced;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..0c471b547
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferenced/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"71b9a35449a6c117c0de0bc5035eb20046c4d436d28294a9d6be2c1a9920ad98"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/index.d.ts b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/index.d.ts
new file mode 100644
index 000000000..a9c923d2a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/index.d.ts
@@ -0,0 +1 @@
+export declare function unreferencedIndirect(): string;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/index.js b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/index.js
new file mode 100644
index 000000000..87bc79753
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.unreferencedIndirect = void 0;
+function unreferencedIndirect() {
+ return "i am unreferencedIndirect";
+}
+exports.unreferencedIndirect = unreferencedIndirect;
diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d49b3f2e5
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.4/unreferencedIndirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d2b6e2d5879e5092e979620936598256494f23e7449ca2b326a2618f9b4488c2"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/app/bundle.js
new file mode 100644
index 000000000..cc8d9e5e1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/index.js
new file mode 100644
index 000000000..c561b2cc0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 30;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1553fe027
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..2f1dec725
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/indirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..2f1dec725
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..38272c671
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/output.txt
@@ -0,0 +1,19 @@
+assets by path ../utils/ 1.36 KiB 3 assets
+assets by path ../common/ 1.2 KiB
+ asset ../common/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset ../common/index.js 128 bytes [compared for emit]
+ asset ../common/index.d.ts 42 bytes [compared for emit]
+assets by path ../indirect/ 1.23 KiB
+ asset ../indirect/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset ../indirect/index.js 119 bytes [compared for emit]
+ asset ../indirect/index.d.ts 84 bytes [compared for emit]
+assets by path ../lib/ 1.23 KiB
+ asset ../lib/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset ../lib/index.js 119 bytes [compared for emit]
+ asset ../lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.51 KiB [emitted] (name: main)
+./app.ts 189 bytes [built] [code generated]
+../lib/index.ts 119 bytes [built] [code generated]
+../utils/index.ts 174 bytes [built] [code generated]
+../common/index.ts 128 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/app/bundle.js
new file mode 100644
index 000000000..29d4de62e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/index.js
new file mode 100644
index 000000000..4fafb1dd0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 35;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..58d680823
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..811e17863
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 3.51 KiB [emitted] (name: main)
+asset ../common/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset ../common/index.js 128 bytes [emitted]
+asset ../common/index.d.ts 42 bytes [emitted]
+cached modules 119 bytes [cached] 1 module
+modules by path ../ 302 bytes
+ ../utils/index.ts 174 bytes [built] [code generated]
+ ../common/index.ts 128 bytes [built] [code generated]
+./app.ts 189 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/app/bundle.js
new file mode 100644
index 000000000..7ff78cc41
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..f0376882d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,9 @@
+asset bundle.js 3.59 KiB [emitted] (name: main)
+asset ../utils/tsconfig.tsbuildinfo 1.23 KiB [emitted]
+asset ../utils/index.js 254 bytes [emitted]
+asset ../utils/index.d.ts 81 bytes [emitted]
+cached modules 247 bytes [cached] 2 modules
+cacheable modules 443 bytes
+ ./app.ts 189 bytes [built] [code generated]
+ ../utils/index.ts 254 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/index.d.ts
new file mode 100644
index 000000000..6ab3917bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/index.d.ts
@@ -0,0 +1,2 @@
+export declare function utils(): void;
+export declare function utils2(): string;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/index.js
new file mode 100644
index 000000000..967de2eee
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.utils2 = exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
+function utils2() { return "hello"; }
+exports.utils2 = utils2;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c1913376b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch1/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch2/app/bundle.js
new file mode 100644
index 000000000..783767b76
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch2/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..dbb03161f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.62 KiB [emitted] (name: main)
+cached modules 501 bytes [cached] 3 modules
+./app.ts 212 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/app/bundle.js
new file mode 100644
index 000000000..783767b76
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..51ed3bb5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c","signature":"233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":37,"length":10,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..91d900d37
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,17 @@
+asset bundle.js 3.62 KiB [emitted] (name: main)
+asset ../common/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 119 bytes [cached] 1 module
+code generated modules 466 bytes [code generated]
+ ./app.ts 212 bytes [built] [code generated]
+ ../utils/index.ts 254 bytes [built] [code generated]
+../common/index.ts 128 bytes [built] [1 error]
+
+ERROR in common/index.ts
+../common/index.ts 2:2-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mcommon/index.ts(2,3)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+ @ ../utils/index.ts 4:15-35
+ @ ./app.ts 4:14-33
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/app/bundle.js
new file mode 100644
index 000000000..783767b76
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/index.js
new file mode 100644
index 000000000..4fafb1dd0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 35;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..58d680823
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..a284293b0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 3.62 KiB [emitted] (name: main)
+asset ../common/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset ../common/index.js 128 bytes [emitted]
+asset ../common/index.d.ts 42 bytes [emitted]
+cached modules 119 bytes [cached] 1 module
+code generated modules 466 bytes [code generated]
+ ./app.ts 212 bytes [built] [code generated]
+ ../utils/index.ts 254 bytes [built] [code generated]
+../common/index.ts 128 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/app/bundle.js
new file mode 100644
index 000000000..783767b76
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..b8fafcff4
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 3.62 KiB [emitted] (name: main)
+asset ../utils/tsconfig.tsbuildinfo 1.41 KiB [emitted]
+cached modules 247 bytes [cached] 2 modules
+cacheable modules 466 bytes
+ ./app.ts 212 bytes [built] [code generated]
+ ../utils/index.ts 254 bytes [built] [1 error]
+
+ERROR in utils/index.ts
+../utils/index.ts 5:35-50
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mutils/index.ts(5,36)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+ @ ./app.ts 4:14-33
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..36fb52d42
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch5/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19","signature":"b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,[7,[{"file":"./index.ts","start":111,"length":15,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[7,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/app/bundle.js
new file mode 100644
index 000000000..783767b76
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/output.txt
new file mode 100644
index 000000000..b3148871d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/output.txt
@@ -0,0 +1,9 @@
+asset bundle.js 3.62 KiB [emitted] (name: main)
+asset ../utils/tsconfig.tsbuildinfo 1.23 KiB [emitted]
+asset ../utils/index.js 254 bytes [emitted]
+asset ../utils/index.d.ts 81 bytes [emitted]
+cached modules 247 bytes [cached] 2 modules
+cacheable modules 466 bytes
+ ./app.ts 212 bytes [built] [code generated]
+ ../utils/index.ts 254 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/index.d.ts
new file mode 100644
index 000000000..6ab3917bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/index.d.ts
@@ -0,0 +1,2 @@
+export declare function utils(): void;
+export declare function utils2(): string;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/index.js
new file mode 100644
index 000000000..967de2eee
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.utils2 = exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
+function utils2() { return "hello"; }
+exports.utils2 = utils2;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c1913376b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/patch6/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/index.d.ts
new file mode 100644
index 000000000..590545c75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/index.d.ts
@@ -0,0 +1 @@
+export declare function utils(): void;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/index.js
new file mode 100644
index 000000000..126060be6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..861743318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.4/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb","4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/app/bundle.js
new file mode 100644
index 000000000..3e336d54a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 30;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/index.js
new file mode 100644
index 000000000..c561b2cc0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 30;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1553fe027
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"83a8bcfe78ca61ceac765c205ef0435e93f65e7bc386ea12d21e0c963a7e824e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..2f1dec725
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/indirect/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..b7785ef20
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..2f1dec725
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..d10b25055
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,19 @@
+assets by path ../utils/ 1.36 KiB 3 assets
+assets by path ../common/ 1.2 KiB
+ asset ../common/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset ../common/index.js 128 bytes [compared for emit]
+ asset ../common/index.d.ts 42 bytes [compared for emit]
+assets by path ../indirect/ 1.23 KiB
+ asset ../indirect/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset ../indirect/index.js 119 bytes [compared for emit]
+ asset ../indirect/index.d.ts 84 bytes [compared for emit]
+assets by path ../lib/ 1.23 KiB
+ asset ../lib/tsconfig.tsbuildinfo 1.03 KiB [compared for emit]
+ asset ../lib/index.js 119 bytes [compared for emit]
+ asset ../lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.55 KiB [emitted] (name: main)
+./app.ts 225 bytes [built] [code generated]
+../lib/index.ts 119 bytes [built] [code generated]
+../utils/index.ts 174 bytes [built] [code generated]
+../common/index.ts 128 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/app/bundle.js
new file mode 100644
index 000000000..335007fa6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/index.js
new file mode 100644
index 000000000..4fafb1dd0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 35;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..58d680823
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..8dc95025b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 3.55 KiB [emitted] (name: main)
+asset ../common/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset ../common/index.js 128 bytes [emitted]
+asset ../common/index.d.ts 42 bytes [emitted]
+cached modules 119 bytes [cached] 1 module
+modules by path ../ 302 bytes
+ ../utils/index.ts 174 bytes [built]
+ ../common/index.ts 128 bytes [built] [code generated]
+./app.ts 225 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/app/bundle.js
new file mode 100644
index 000000000..8fda6d36c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..68704f149
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,9 @@
+asset bundle.js 3.63 KiB [emitted] (name: main)
+asset ../utils/tsconfig.tsbuildinfo 1.23 KiB [emitted]
+asset ../utils/index.js 254 bytes [emitted]
+asset ../utils/index.d.ts 81 bytes [emitted]
+cached modules 247 bytes [cached] 2 modules
+cacheable modules 479 bytes
+ ./app.ts 225 bytes [built] [code generated]
+ ../utils/index.ts 254 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/index.d.ts
new file mode 100644
index 000000000..6ab3917bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/index.d.ts
@@ -0,0 +1,2 @@
+export declare function utils(): void;
+export declare function utils2(): string;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/index.js
new file mode 100644
index 000000000..967de2eee
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.utils2 = exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
+function utils2() { return "hello"; }
+exports.utils2 = utils2;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c1913376b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch1/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch2/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch2/app/bundle.js
new file mode 100644
index 000000000..54a44f6c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch2/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..12871c486
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.66 KiB [emitted] (name: main)
+cached modules 501 bytes [cached] 3 modules
+./app.ts 248 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/app/bundle.js
new file mode 100644
index 000000000..54a44f6c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..51ed3bb5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"8dc151219b7f551da173dd2304fc01ffc31268701f42ee5f65b0b30138d4dd3c","signature":"233a16e654a6b6507aca0421baacb8e3a0bb95be0c1818690f06f86119b0bc43"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":37,"length":10,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..f2fb73bda
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,14 @@
+assets by status 3.66 KiB [cached] 1 asset
+asset ../common/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 119 bytes [cached] 1 module
+modules by path ../ 382 bytes
+ ../utils/index.ts 254 bytes [built]
+ ../common/index.ts 128 bytes [built]
+./app.ts 248 bytes [built] [1 error]
+
+ERROR in ./app.ts 2:2-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mcommon/index.ts(2,3)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/app/bundle.js
new file mode 100644
index 000000000..54a44f6c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/index.d.ts
new file mode 100644
index 000000000..78cb4cd49
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/index.d.ts
@@ -0,0 +1 @@
+export declare function common(): number;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/index.js
new file mode 100644
index 000000000..4fafb1dd0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/index.js
@@ -0,0 +1,7 @@
+"use strict";
+exports.__esModule = true;
+exports.common = void 0;
+function common() {
+ return 35;
+}
+exports.common = common;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..58d680823
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"ea4f1fab5d827d59b4b09d9e42b615faf16b08c259290b9fcb5982bb9543bd52","signature":"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..9037fe5db
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,10 @@
+assets by status 3.66 KiB [cached] 1 asset
+asset ../common/tsconfig.tsbuildinfo 1.12 KiB [emitted]
+asset ../common/index.js 128 bytes [emitted]
+asset ../common/index.d.ts 42 bytes [emitted]
+cached modules 119 bytes [cached] 1 module
+modules by path ../ 382 bytes
+ ../utils/index.ts 254 bytes [built]
+ ../common/index.ts 128 bytes [built]
+./app.ts 248 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/app/bundle.js
new file mode 100644
index 000000000..54a44f6c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..354a4ca9a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,13 @@
+assets by status 3.66 KiB [cached] 1 asset
+asset ../utils/tsconfig.tsbuildinfo 1.41 KiB [emitted]
+cached modules 247 bytes [cached] 2 modules
+cacheable modules 502 bytes
+ ./app.ts 248 bytes [built] [1 error]
+ ../utils/index.ts 254 bytes [built]
+
+ERROR in ./app.ts 5:35-50
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mutils/index.ts(5,36)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..36fb52d42
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch5/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"5f3b60afa134ead3910d0edb722e281f51797b8747253688a08bced01be97e19","signature":"b45004303c96a0df80573d7d8505f23f55598a904ccea3781900f27f32ee56b2"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,[7,[{"file":"./index.ts","start":111,"length":15,"code":2322,"category":1,"messageText":"Type 'string' is not assignable to type 'number'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[7,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/app/bundle.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/app/bundle.js
new file mode 100644
index 000000000..54a44f6c9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/app/bundle.js
@@ -0,0 +1,87 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ../lib */ \"../lib/index.ts\");\nvar utils_1 = __webpack_require__(/*! ../utils */ \"../utils/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n(0, utils_1.utils)();\n(0, utils_1.utils2)();\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "../common/index.ts":
+/*!**************************!*\
+ !*** ../common/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.common = void 0;\nfunction common() {\n return 35;\n}\nexports.common = common;\n\n\n//# sourceURL=webpack:///../common/index.ts?");
+
+/***/ }),
+
+/***/ "../lib/index.ts":
+/*!***********************!*\
+ !*** ../lib/index.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///../lib/index.ts?");
+
+/***/ }),
+
+/***/ "../utils/index.ts":
+/*!*************************!*\
+ !*** ../utils/index.ts ***!
+ \*************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.utils2 = exports.utils = void 0;\nvar common_1 = __webpack_require__(/*! ../common */ \"../common/index.ts\");\nfunction utils() {\n (0, common_1.common)();\n}\nexports.utils = utils;\nfunction utils2() { return \"hello\"; }\nexports.utils2 = utils2;\n\n\n//# sourceURL=webpack:///../utils/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/output.txt
new file mode 100644
index 000000000..c0c065c9d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/output.txt
@@ -0,0 +1,9 @@
+assets by status 3.66 KiB [cached] 1 asset
+asset ../utils/tsconfig.tsbuildinfo 1.23 KiB [emitted]
+asset ../utils/index.js 254 bytes [emitted]
+asset ../utils/index.d.ts 81 bytes [emitted]
+cached modules 247 bytes [cached] 2 modules
+cacheable modules 502 bytes
+ ./app.ts 248 bytes [built]
+ ../utils/index.ts 254 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/index.d.ts
new file mode 100644
index 000000000..6ab3917bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/index.d.ts
@@ -0,0 +1,2 @@
+export declare function utils(): void;
+export declare function utils2(): string;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/index.js
new file mode 100644
index 000000000..967de2eee
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.utils2 = exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
+function utils2() { return "hello"; }
+exports.utils2 = utils2;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c1913376b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/patch6/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb",{"version":"a1dbdf6843733c9641c0dccfc0fd2ac2bc4cb630b60143672e64e0a65a8dbb7a","signature":"965912a69421fffc4b79247cd826f3e8bdb5cdbd3ab8d0b5ca57e5a40cfc5869"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/index.d.ts b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/index.d.ts
new file mode 100644
index 000000000..590545c75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/index.d.ts
@@ -0,0 +1 @@
+export declare function utils(): void;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/index.js b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/index.js
new file mode 100644
index 000000000..126060be6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/index.js
@@ -0,0 +1,8 @@
+"use strict";
+exports.__esModule = true;
+exports.utils = void 0;
+var common_1 = require("../common");
+function utils() {
+ (0, common_1.common)();
+}
+exports.utils = utils;
diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..861743318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.4/utils/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/index.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"43a7b48da056d56d751b52b1b22e1445fe52b56355f0adcbfd52c12ddc3e3ecb","4c7e50bd7f85cc5d64f963157685ca8eb1223e12466f47c719aaf1af32173088"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..ad5d6a334
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/foo.ts":
+/*!********************!*\
+ !*** ./lib/foo.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/foo.d.ts
new file mode 100644
index 000000000..07265a895
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/foo.d.ts
@@ -0,0 +1 @@
+export declare const foo = "foo";
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/foo.js
new file mode 100644
index 000000000..33e8d8400
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/foo.js
@@ -0,0 +1,4 @@
+"use strict";
+exports.__esModule = true;
+exports.foo = void 0;
+exports.foo = 'foo';
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..b05ab0fd1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ foo: string;
+};
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..36ee96b86
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var foo_1 = require("./foo");
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ foo: foo_1.foo
+};
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..dd46ed865
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./foo.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759","582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..77a4e2f6d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-4.4/output.txt
@@ -0,0 +1,12 @@
+assets by path lib/*.js 253 bytes
+ asset lib/index.js 169 bytes [compared for emit]
+ asset lib/foo.js 84 bytes [compared for emit]
+assets by path lib/*.ts 135 bytes
+ asset lib/index.d.ts 101 bytes [compared for emit]
+ asset lib/foo.d.ts 34 bytes [compared for emit]
+asset bundle.js 2.98 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 169 bytes [built] [code generated]
+./lib/foo.ts 84 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..cf1353017
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/foo.ts":
+/*!********************!*\
+ !*** ./lib/foo.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.foo = void 0;\nexports.foo = 'foo';\n\n\n//# sourceURL=webpack:///./lib/foo.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar foo_1 = __webpack_require__(/*! ./foo */ \"./lib/foo.ts\");\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n foo: foo_1.foo\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/foo.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/foo.d.ts
new file mode 100644
index 000000000..07265a895
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/foo.d.ts
@@ -0,0 +1 @@
+export declare const foo = "foo";
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/foo.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/foo.js
new file mode 100644
index 000000000..33e8d8400
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/foo.js
@@ -0,0 +1,4 @@
+"use strict";
+exports.__esModule = true;
+exports.foo = void 0;
+exports.foo = 'foo';
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..b05ab0fd1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ foo: string;
+};
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..36ee96b86
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var foo_1 = require("./foo");
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ foo: foo_1.foo
+};
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..dd46ed865
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./foo.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"a43230ea8da8a5ab3adc7b12f9eb9d65d1d1e5c87896fb2d8747a1a3f7a3f759","582b90393f0a99a0e2da27ccff010fe0b914246cc25e49da7e760543b0789cf8"],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..0c8d16c7f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNoSourceMap/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,12 @@
+assets by path lib/*.js 253 bytes
+ asset lib/index.js 169 bytes [compared for emit]
+ asset lib/foo.js 84 bytes [compared for emit]
+assets by path lib/*.ts 135 bytes
+ asset lib/index.d.ts 101 bytes [compared for emit]
+ asset lib/foo.d.ts 34 bytes [compared for emit]
+asset bundle.js 3.02 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 169 bytes [built] [code generated]
+./lib/foo.ts 84 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..acae53107
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..38ff985f7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,12 @@
+assets by status 1.46 KiB [compared for emit]
+ asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+ asset lib/index.js.map 188 bytes [compared for emit]
+ asset lib/index.js 152 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+assets by status 3.37 KiB [emitted]
+ asset bundle.js 2.6 KiB [emitted] (name: main)
+ asset tsconfig.tsbuildinfo 782 bytes [emitted]
+ asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b2db22971
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..b17691e4a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..87b1c6e6c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 2.62 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 147 bytes [built] [code generated] [1 error]
+./lib/index.ts 119 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:45-49
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,46)[39m[22m
+[1m[31m TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..9fe0e56bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e393326d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.65 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 183 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..b17691e4a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..57d77ac18
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,19 @@
+assets by status 1.46 KiB [compared for emit]
+ asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+ asset lib/index.js.map 188 bytes [compared for emit]
+ asset lib/index.js 152 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+assets by status 3.39 KiB [emitted]
+ asset bundle.js 2.62 KiB [emitted] (name: main)
+ asset tsconfig.tsbuildinfo 782 bytes [emitted]
+ asset app.d.ts 11 bytes [emitted]
+./app.ts 147 bytes [built] [code generated] [1 error]
+./lib/index.ts 119 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:45-49
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,46)[39m[22m
+[1m[31m TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a920713cf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-18375343467","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..9fe0e56bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e393326d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.65 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 183 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..b17691e4a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..bb8c351bf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 2.62 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 147 bytes [built] [code generated] [1 error]
+./lib/index.ts 119 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:45-49
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,46)[39m[22m
+[1m[31m TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..9fe0e56bc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e393326d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.65 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 183 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..55495aded
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..343e87ffa
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..f5fef973b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.4/output.txt
@@ -0,0 +1,21 @@
+asset bundle.js 2.93 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.22 KiB [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 6:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,7)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..2ea41e7d7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..343e87ffa
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..f51adc489
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 2.97 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.22 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated] [1 error]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 6:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,7)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..6aff75e8a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..343e87ffa
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..b792d91de
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,23 @@
+asset bundle.js 2.94 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.22 KiB [compared for emit]
+asset tsconfig.tsbuildinfo 724 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 6:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,7)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..67481cada
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..7e6b384c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..343e87ffa
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..4268c8188
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 2.99 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.22 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated] [1 error]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 6:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,7)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..3e5f72429
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..343e87ffa
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..23d43e0b4
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,21 @@
+asset bundle.js 2.93 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.22 KiB [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 6:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,7)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..f8ebc234b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SemanticErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..343e87ffa
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"d72617818121755fe770ae2c317e676b0d526fe8bfcd4ba4eff1762911aae1b4"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[[6,[{"file":"./index.ts","start":61,"length":1,"code":2322,"category":1,"messageText":"Type 'number' is not assignable to type 'string'."}]],1,3,2,5,4],"affectedFilesPendingEmit":[[6,1],[1,1]]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..182af577c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 2.98 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.22 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated] [1 error]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 6:6-7
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,7)[39m[22m
+[1m[31m TS2322: Type 'number' is not assignable to type 'string'.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..c9d01ce29
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..9be909715
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.4/output.txt
@@ -0,0 +1,20 @@
+asset bundle.js 2.92 KiB [emitted] (name: main)
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 4:11-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(4,12)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..bcf06fd0e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..e25ebe57e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,18 @@
+asset bundle.js 2.97 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated] [1 error]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 4:11-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(4,12)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..038925530
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..de0a85c84
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,22 @@
+asset bundle.js 2.94 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 724 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 4:11-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(4,12)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..67481cada
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..f4a204218
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..cb721a739
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,18 @@
+asset bundle.js 2.99 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated] [1 error]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 4:11-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(4,12)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..6f340af11
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..32ef67aab
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,20 @@
+asset bundle.js 2.93 KiB [emitted] (name: main)
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 4:11-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(4,12)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..badd14235
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: TypeScript emitted no output for /projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi.transpile/lib/index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (/workspaces/ts-loader/dist/index.js:52:18)/n at successLoader (/workspaces/ts-loader/dist/index.js:39:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:22:5)\");\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..90b7c3346
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,18 @@
+asset bundle.js 2.98 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated] [1 error]
+./lib/index.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts 4:11-12
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(4,12)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+ERROR in ./lib/index.ts
+Module build failed (from ../../index.js):
+Error: TypeScript emitted no output for lib/index.ts. The most common cause for this is having errors when building referenced projects.
+ at makeSourceMapAndFinish (dist/index.js:52:18)
+ at successLoader (dist/index.js:39:5)
+ at Object.loader (dist/index.js:22:5)
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..acae53107
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesNotBuilt_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..bd8517f9b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..e53bb9b64
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..827bc349e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.08 KiB [compared for emit]
+asset lib/out/index.js.map 191 bytes [compared for emit]
+asset lib/out/index.js 152 bytes [compared for emit]
+asset lib/out/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..bd8517f9b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..e53bb9b64
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..42d5923e7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDir/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.08 KiB [compared for emit]
+asset lib/out/index.js.map 191 bytes [compared for emit]
+asset lib/out/index.js 152 bytes [compared for emit]
+asset lib/out/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..8e2a2c604
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..bd8517f9b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..e53bb9b64
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..705eeb63f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.08 KiB [compared for emit]
+asset lib/out/index.js.map 191 bytes [compared for emit]
+asset lib/out/index.js 152 bytes [compared for emit]
+asset lib/out/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/out/index.js 152 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..8e2a2c604
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.js.map
new file mode 100644
index 000000000..da47828f7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..dc63e3289
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..e5f90421d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.17 KiB [emitted]
+asset lib/out/index.js.map 224 bytes [emitted]
+asset lib/out/index.js 183 bytes [emitted]
+asset lib/out/index.d.ts 102 bytes [emitted]
+cached modules 152 bytes [cached] 1 module
+./app.ts 131 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..fd4c4b7cc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..cf3b645be
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+./app.ts 169 bytes [built] [code generated]
+./lib/out/index.js 183 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..fd4c4b7cc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..51ee53622
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,17 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 183 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+
+ERROR in lib/index.ts
+6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+ERROR in lib/index.ts
+7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/bundle.js
new file mode 100644
index 000000000..fd4c4b7cc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.js.map
new file mode 100644
index 000000000..6f1b651a7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..bb76d1bcc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..41327beac
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.17 KiB [emitted]
+asset lib/out/index.js.map 231 bytes [emitted]
+asset lib/out/index.js 178 bytes [emitted]
+asset lib/out/index.d.ts 120 bytes [emitted]
+cached modules 183 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch4/bundle.js
new file mode 100644
index 000000000..d70df97ec
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..6329b63b6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 2.74 KiB [emitted] (name: main)
+./app.ts 186 bytes [built] [code generated] [1 error]
+./lib/out/index.js 178 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:55-60
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,56)[39m[22m
+[1m[31m TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch5/bundle.js
new file mode 100644
index 000000000..471badf67
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..f1bc49458
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.74 KiB [emitted] (name: main)
+cached modules 178 bytes [cached] 1 module
+./app.ts 185 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..9156c3012
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..bd8517f9b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..e53bb9b64
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..96bbf8e15
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.69 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.08 KiB [compared for emit]
+asset lib/out/index.js.map 191 bytes [compared for emit]
+asset lib/out/index.js 152 bytes [compared for emit]
+asset lib/out/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/out/index.js 152 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..4c5b82ffe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..b88a3c898
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.76 KiB [emitted] (name: main)
+./app.ts 205 bytes [built] [code generated]
+./lib/out/index.js 183 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..4c5b82ffe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..d1bf908d7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,15 @@
+assets by status 2.76 KiB [cached] 1 asset
+cached modules 183 bytes [cached] 1 module
+./app.ts 205 bytes [built] [2 errors]
+
+ERROR in ./app.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+ERROR in ./app.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/bundle.js
new file mode 100644
index 000000000..4c5b82ffe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.js.map
new file mode 100644
index 000000000..6f1b651a7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..bb76d1bcc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..1826c8c11
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+assets by status 2.76 KiB [cached] 1 asset
+asset lib/out/tsconfig.tsbuildinfo 1.17 KiB [emitted]
+asset lib/out/index.js.map 231 bytes [emitted]
+asset lib/out/index.js 178 bytes [emitted]
+asset lib/out/index.d.ts 120 bytes [emitted]
+cached modules 183 bytes [cached] 1 module
+./app.ts 205 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch4/bundle.js
new file mode 100644
index 000000000..358c15440
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..6b941e246
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.78 KiB [emitted] (name: main)
+./app.ts 222 bytes [built] [code generated]
+./lib/out/index.js 178 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch5/bundle.js
new file mode 100644
index 000000000..fd1b48722
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..6172a0c1a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.77 KiB [emitted] (name: main)
+cached modules 178 bytes [cached] 1 module
+./app.ts 221 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..8e2a2c604
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..40f89c6ce
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+./app.ts 131 bytes [built] [code generated]
+./lib/out/index.js 152 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..8e2a2c604
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.js.map
new file mode 100644
index 000000000..da47828f7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c4968e5a3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28"],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..4a698fe3f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.08 KiB [compared for emit]
+asset lib/out/index.js.map 224 bytes [compared for emit]
+asset lib/out/index.js 183 bytes [compared for emit]
+asset lib/out/index.d.ts 102 bytes [compared for emit]
+cached modules 152 bytes [cached] 1 module
+./app.ts 131 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..fd4c4b7cc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..cf3b645be
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+./app.ts 169 bytes [built] [code generated]
+./lib/out/index.js 183 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..fd4c4b7cc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..51ee53622
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,17 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 183 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+
+ERROR in lib/index.ts
+6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+ERROR in lib/index.ts
+7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/bundle.js
new file mode 100644
index 000000000..fd4c4b7cc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.js.map
new file mode 100644
index 000000000..6f1b651a7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..bb76d1bcc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..41327beac
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+asset lib/out/tsconfig.tsbuildinfo 1.17 KiB [emitted]
+asset lib/out/index.js.map 231 bytes [emitted]
+asset lib/out/index.js 178 bytes [emitted]
+asset lib/out/index.d.ts 120 bytes [emitted]
+cached modules 183 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch4/bundle.js
new file mode 100644
index 000000000..d70df97ec
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..6329b63b6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 2.74 KiB [emitted] (name: main)
+./app.ts 186 bytes [built] [code generated] [1 error]
+./lib/out/index.js 178 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:55-60
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,56)[39m[22m
+[1m[31m TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch5/bundle.js
new file mode 100644
index 000000000..471badf67
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..f1bc49458
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.74 KiB [emitted] (name: main)
+cached modules 178 bytes [cached] 1 module
+./app.ts 185 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..9156c3012
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..c9189f616
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.69 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated]
+./lib/out/index.js 152 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..4c5b82ffe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..b88a3c898
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.76 KiB [emitted] (name: main)
+./app.ts 205 bytes [built] [code generated]
+./lib/out/index.js 183 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..4c5b82ffe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..d1bf908d7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,15 @@
+assets by status 2.76 KiB [cached] 1 asset
+cached modules 183 bytes [cached] 1 module
+./app.ts 205 bytes [built] [2 errors]
+
+ERROR in ./app.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+ERROR in ./app.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/bundle.js
new file mode 100644
index 000000000..4c5b82ffe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.d.ts b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.js.map b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.js.map
new file mode 100644
index 000000000..6f1b651a7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..bb76d1bcc
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/lib/out/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../../node_modules/typescript/lib/lib.d.ts","../../../../node_modules/typescript/lib/lib.es5.d.ts","../../../../node_modules/typescript/lib/lib.dom.d.ts","../../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../../node_modules/typescript/lib/lib.scripthost.d.ts","../index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"outDir":"./","skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..1826c8c11
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+assets by status 2.76 KiB [cached] 1 asset
+asset lib/out/tsconfig.tsbuildinfo 1.17 KiB [emitted]
+asset lib/out/index.js.map 231 bytes [emitted]
+asset lib/out/index.js 178 bytes [emitted]
+asset lib/out/index.d.ts 120 bytes [emitted]
+cached modules 183 bytes [cached] 1 module
+./app.ts 205 bytes [built]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch4/bundle.js
new file mode 100644
index 000000000..358c15440
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..6b941e246
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.78 KiB [emitted] (name: main)
+./app.ts 222 bytes [built] [code generated]
+./lib/out/index.js 178 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch5/bundle.js
new file mode 100644
index 000000000..fd1b48722
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/out/index.js\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/out/index.js":
+/*!**************************!*\
+ !*** ./lib/out/index.js ***!
+ \**************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n//# sourceMappingURL=index.js.map\n\n//# sourceURL=webpack:///./lib/out/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..6172a0c1a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.77 KiB [emitted] (name: main)
+cached modules 178 bytes [cached] 1 module
+./app.ts 221 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..d60ebfe6e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/bundle.js
@@ -0,0 +1,96 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/src/index.ts":
+/*!**************************!*\
+ !*** ./lib/src/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"lib\": () => (/* binding */ lib)\n/* harmony export */ });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.js
new file mode 100644
index 000000000..601001a45
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.js
@@ -0,0 +1,6 @@
+export const lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..e54726f0a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a5de3b3d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"e34eb9339171ec45da2801c1967e4d378bd61a1dceaa1b1b4e1b6d28cb9ca962","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[49,10,11,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,43,39,40,41,42,8,44,45,46,1,9,48,47,13,12]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..27540d6b6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-4.4/output.txt
@@ -0,0 +1,11 @@
+assets by path lib/out/ 380 bytes
+ asset lib/out/index.js.map 202 bytes [compared for emit]
+ asset lib/out/index.js 94 bytes [compared for emit]
+ asset lib/out/index.d.ts 84 bytes [compared for emit]
+asset lib/tsconfig.tsbuildinfo 7.95 KiB [compared for emit]
+asset bundle.js 4.2 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+cacheable modules 142 bytes
+ ./app.ts 81 bytes [built] [code generated]
+ ./lib/src/index.ts 61 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..d60ebfe6e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,96 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/src/index.ts":
+/*!**************************!*\
+ !*** ./lib/src/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"lib\": () => (/* binding */ lib)\n/* harmony export */ });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.js
new file mode 100644
index 000000000..601001a45
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.js
@@ -0,0 +1,6 @@
+export const lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..e54726f0a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a5de3b3d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"e34eb9339171ec45da2801c1967e4d378bd61a1dceaa1b1b4e1b6d28cb9ca962","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[49,10,11,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,43,39,40,41,42,8,44,45,46,1,9,48,47,13,12]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..27540d6b6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDir/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,11 @@
+assets by path lib/out/ 380 bytes
+ asset lib/out/index.js.map 202 bytes [compared for emit]
+ asset lib/out/index.js 94 bytes [compared for emit]
+ asset lib/out/index.d.ts 84 bytes [compared for emit]
+asset lib/tsconfig.tsbuildinfo 7.95 KiB [compared for emit]
+asset bundle.js 4.2 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+cacheable modules 142 bytes
+ ./app.ts 81 bytes [built] [code generated]
+ ./lib/src/index.ts 61 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..d60ebfe6e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/bundle.js
@@ -0,0 +1,96 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/src/index.ts":
+/*!**************************!*\
+ !*** ./lib/src/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"lib\": () => (/* binding */ lib)\n/* harmony export */ });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.js
new file mode 100644
index 000000000..601001a45
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.js
@@ -0,0 +1,6 @@
+export const lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..e54726f0a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a5de3b3d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"e34eb9339171ec45da2801c1967e4d378bd61a1dceaa1b1b4e1b6d28cb9ca962","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[49,10,11,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,43,39,40,41,42,8,44,45,46,1,9,48,47,13,12]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..27540d6b6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-4.4/output.txt
@@ -0,0 +1,11 @@
+assets by path lib/out/ 380 bytes
+ asset lib/out/index.js.map 202 bytes [compared for emit]
+ asset lib/out/index.js 94 bytes [compared for emit]
+ asset lib/out/index.d.ts 84 bytes [compared for emit]
+asset lib/tsconfig.tsbuildinfo 7.95 KiB [compared for emit]
+asset bundle.js 4.2 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+cacheable modules 142 bytes
+ ./app.ts 81 bytes [built] [code generated]
+ ./lib/src/index.ts 61 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..d60ebfe6e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,96 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _lib_src_index__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./lib/src/index */ \"./lib/src/index.ts\");\n\nconsole.log(_lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.one, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.two, _lib_src_index__WEBPACK_IMPORTED_MODULE_0__.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/src/index.ts":
+/*!**************************!*\
+ !*** ./lib/src/index.ts ***!
+ \**************************/
+/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => {
+
+eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"lib\": () => (/* binding */ lib)\n/* harmony export */ });\nconst lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/src/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/ /* webpack/runtime/define property getters */
+/******/ (() => {
+/******/ // define getter functions for harmony exports
+/******/ __webpack_require__.d = (exports, definition) => {
+/******/ for(var key in definition) {
+/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
+/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
+/******/ }
+/******/ }
+/******/ };
+/******/ })();
+/******/
+/******/ /* webpack/runtime/hasOwnProperty shorthand */
+/******/ (() => {
+/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
+/******/ })();
+/******/
+/******/ /* webpack/runtime/make namespace object */
+/******/ (() => {
+/******/ // define __esModule on exports
+/******/ __webpack_require__.r = (exports) => {
+/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
+/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
+/******/ }
+/******/ Object.defineProperty(exports, '__esModule', { value: true });
+/******/ };
+/******/ })();
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.d.ts b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.js b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.js
new file mode 100644
index 000000000..601001a45
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.js
@@ -0,0 +1,6 @@
+export const lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.js.map b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.js.map
new file mode 100644
index 000000000..e54726f0a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/out/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a5de3b3d8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.es2015.d.ts","../../../node_modules/typescript/lib/lib.es2016.d.ts","../../../node_modules/typescript/lib/lib.es2017.d.ts","../../../node_modules/typescript/lib/lib.es2018.d.ts","../../../node_modules/typescript/lib/lib.es2019.d.ts","../../../node_modules/typescript/lib/lib.es2020.d.ts","../../../node_modules/typescript/lib/lib.es2021.d.ts","../../../node_modules/typescript/lib/lib.esnext.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.dom.iterable.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../../../node_modules/typescript/lib/lib.es2015.core.d.ts","../../../node_modules/typescript/lib/lib.es2015.collection.d.ts","../../../node_modules/typescript/lib/lib.es2015.generator.d.ts","../../../node_modules/typescript/lib/lib.es2015.iterable.d.ts","../../../node_modules/typescript/lib/lib.es2015.promise.d.ts","../../../node_modules/typescript/lib/lib.es2015.proxy.d.ts","../../../node_modules/typescript/lib/lib.es2015.reflect.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2016.array.include.d.ts","../../../node_modules/typescript/lib/lib.es2017.object.d.ts","../../../node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2017.string.d.ts","../../../node_modules/typescript/lib/lib.es2017.intl.d.ts","../../../node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","../../../node_modules/typescript/lib/lib.es2018.asyncgenerator.d.ts","../../../node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","../../../node_modules/typescript/lib/lib.es2018.intl.d.ts","../../../node_modules/typescript/lib/lib.es2018.promise.d.ts","../../../node_modules/typescript/lib/lib.es2018.regexp.d.ts","../../../node_modules/typescript/lib/lib.es2019.array.d.ts","../../../node_modules/typescript/lib/lib.es2019.object.d.ts","../../../node_modules/typescript/lib/lib.es2019.string.d.ts","../../../node_modules/typescript/lib/lib.es2019.symbol.d.ts","../../../node_modules/typescript/lib/lib.es2020.bigint.d.ts","../../../node_modules/typescript/lib/lib.es2020.promise.d.ts","../../../node_modules/typescript/lib/lib.es2020.sharedmemory.d.ts","../../../node_modules/typescript/lib/lib.es2020.string.d.ts","../../../node_modules/typescript/lib/lib.es2020.symbol.wellknown.d.ts","../../../node_modules/typescript/lib/lib.es2020.intl.d.ts","../../../node_modules/typescript/lib/lib.es2021.promise.d.ts","../../../node_modules/typescript/lib/lib.es2021.string.d.ts","../../../node_modules/typescript/lib/lib.es2021.weakref.d.ts","../../../node_modules/typescript/lib/lib.esnext.intl.d.ts","../../../node_modules/typescript/lib/lib.esnext.full.d.ts","./src/index.ts"],"fileInfos":[{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},"dc47c4fa66b9b9890cf076304de2a9c5201e94b740cffdf09f87296d877d71f6","7a387c58583dfca701b6c85e0adaf43fb17d590fb16d5b2dc0a2fbd89f35c467","8a12173c586e95f4433e0c6dc446bc88346be73ffe9ca6eec7aa63c8f3dca7f9","5f4e733ced4e129482ae2186aae29fde948ab7182844c3a5a51dd346182c7b06","e6b724280c694a9f588847f754198fb96c43d805f065c3a5b28bbc9594541c84","e21c071ca3e1b4a815d5f04a7475adcaeea5d64367e840dd0154096d705c3940","eb75e89d63b3b72dd9ca8b0cac801cecae5be352307c004adeaa60bc9d6df51f","2cc028cd0bdb35b1b5eb723d84666a255933fffbea607f72cbd0c7c7b4bee144",{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"e34eb9339171ec45da2801c1967e4d378bd61a1dceaa1b1b4e1b6d28cb9ca962","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"51b8b27c21c066bf877646e320bf6a722b80d1ade65e686923cd9d4494aef1ca","affectsGlobalScope":true},{"version":"43fb1d932e4966a39a41b464a12a81899d9ae5f2c829063f5571b6b87e6d2f9c","affectsGlobalScope":true},{"version":"cdccba9a388c2ee3fd6ad4018c640a471a6c060e96f1232062223063b0a5ac6a","affectsGlobalScope":true},{"version":"2c8c5ee58f30e7c944e04ab1fb5506fdbb4dd507c9efa6972cf4b91cec90c503","affectsGlobalScope":true},{"version":"2bb4b3927299434052b37851a47bf5c39764f2ba88a888a107b32262e9292b7c","affectsGlobalScope":true},{"version":"810627a82ac06fb5166da5ada4159c4ec11978dfbb0805fe804c86406dab8357","affectsGlobalScope":true},{"version":"62d80405c46c3f4c527ee657ae9d43fda65a0bf582292429aea1e69144a522a6","affectsGlobalScope":true},{"version":"3013574108c36fd3aaca79764002b3717da09725a36a6fc02eac386593110f93","affectsGlobalScope":true},{"version":"75ec0bdd727d887f1b79ed6619412ea72ba3c81d92d0787ccb64bab18d261f14","affectsGlobalScope":true},{"version":"3be5a1453daa63e031d266bf342f3943603873d890ab8b9ada95e22389389006","affectsGlobalScope":true},{"version":"17bb1fc99591b00515502d264fa55dc8370c45c5298f4a5c2083557dccba5a2a","affectsGlobalScope":true},{"version":"7ce9f0bde3307ca1f944119f6365f2d776d281a393b576a18a2f2893a2d75c98","affectsGlobalScope":true},{"version":"6a6b173e739a6a99629a8594bfb294cc7329bfb7b227f12e1f7c11bc163b8577","affectsGlobalScope":true},{"version":"12a310447c5d23c7d0d5ca2af606e3bd08afda69100166730ab92c62999ebb9d","affectsGlobalScope":true},{"version":"b0124885ef82641903d232172577f2ceb5d3e60aed4da1153bab4221e1f6dd4e","affectsGlobalScope":true},{"version":"0eb85d6c590b0d577919a79e0084fa1744c1beba6fd0d4e951432fa1ede5510a","affectsGlobalScope":true},{"version":"da233fc1c8a377ba9e0bed690a73c290d843c2c3d23a7bd7ec5cd3d7d73ba1e0","affectsGlobalScope":true},{"version":"df9c8a72ca8b0ed62f5470b41208a0587f0f73f0a7db28e5a1272cf92537518e","affectsGlobalScope":true},{"version":"bb2d3fb05a1d2ffbca947cc7cbc95d23e1d053d6595391bd325deb265a18d36c","affectsGlobalScope":true},{"version":"c80df75850fea5caa2afe43b9949338ce4e2de086f91713e9af1a06f973872b8","affectsGlobalScope":true},{"version":"9d57b2b5d15838ed094aa9ff1299eecef40b190722eb619bac4616657a05f951","affectsGlobalScope":true},{"version":"6c51b5dd26a2c31dbf37f00cfc32b2aa6a92e19c995aefb5b97a3a64f1ac99de","affectsGlobalScope":true},{"version":"93544ca2f26a48716c1b6c5091842cad63129daac422dfa4bc52460465f22bb1","affectsGlobalScope":true},{"version":"2ad234885a4240522efccd77de6c7d99eecf9b4de0914adb9a35c0c22433f993","affectsGlobalScope":true},{"version":"1b3fe904465430e030c93239a348f05e1be80640d91f2f004c3512c2c2c89f34","affectsGlobalScope":true},{"version":"7435b75fdf3509622e79622dbe5091cf4b09688410ee2034e4fc17d0c99d0862","affectsGlobalScope":true},{"version":"e7e8e1d368290e9295ef18ca23f405cf40d5456fa9f20db6373a61ca45f75f40","affectsGlobalScope":true},{"version":"faf0221ae0465363c842ce6aa8a0cbda5d9296940a8e26c86e04cc4081eea21e","affectsGlobalScope":true},{"version":"06393d13ea207a1bfe08ec8d7be562549c5e2da8983f2ee074e00002629d1871","affectsGlobalScope":true},{"version":"9f1817f7c3f02f6d56e0f403b927e90bb133f371dcebc36fa7d6d208ef6899da","affectsGlobalScope":true},{"version":"cd6efb9467a8b6338ece2e2855e37765700f2cd061ca54b01b33878cf5c7677e","affectsGlobalScope":true},{"version":"fb4416144c1bf0323ccbc9afb0ab289c07312214e8820ad17d709498c865a3fe","affectsGlobalScope":true},{"version":"5b0ca94ec819d68d33da516306c15297acec88efeb0ae9e2b39f71dbd9685ef7","affectsGlobalScope":true},{"version":"4632665b87204bb1caa8b44d165bce0c50dfab177df5b561b345a567cabacf9a","affectsGlobalScope":true},"d96fa8a56871904776165ceb8e00bd56127e1a017bb2664cae76223b5f815141","28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"outDir":"./out","rootDir":"./src","skipLibCheck":true,"sourceMap":true,"target":99},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[49,10,11,15,14,2,16,17,18,19,20,21,22,23,3,4,27,24,25,26,28,29,30,5,31,32,33,34,6,35,36,37,38,7,43,39,40,41,42,8,44,45,46,1,9,48,47,13,12]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..27540d6b6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesRootDirInvalidConfig/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,11 @@
+assets by path lib/out/ 380 bytes
+ asset lib/out/index.js.map 202 bytes [compared for emit]
+ asset lib/out/index.js 94 bytes [compared for emit]
+ asset lib/out/index.d.ts 84 bytes [compared for emit]
+asset lib/tsconfig.tsbuildinfo 7.95 KiB [compared for emit]
+asset bundle.js 4.2 KiB [emitted] (name: main)
+runtime modules 670 bytes 3 modules
+cacheable modules 142 bytes
+ ./app.ts 81 bytes [built] [code generated]
+ ./lib/src/index.ts 61 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b7c1cf040
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..4a8cac7ed
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.48 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.19 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.25 KiB [emitted] (name: main)
+./src/index.ts 113 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/dist/index.d.ts
new file mode 100644
index 000000000..c8844a138
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife3: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/dist/index.js
new file mode 100644
index 000000000..092e50ddf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife3 = void 0;
+var common_1 = require("common");
+var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife3 = getMeaningOfLife3;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..4b7fcba69
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..142dfed87
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,21 @@
+assets by path ../../lib/dist/ 295 bytes
+ asset ../../lib/dist/index.js 241 bytes [emitted]
+ asset ../../lib/dist/index.d.ts 54 bytes [emitted]
+asset index.js 3.25 KiB [emitted] (name: main)
+asset ../../lib/tsconfig.tsbuildinfo 1.28 KiB [emitted]
+cached modules 413 bytes [cached] 2 modules
+./src/index.ts 113 bytes [built] [code generated] [2 errors]
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/app/dist/index.js
new file mode 100644
index 000000000..0e6b03da8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b7c1cf040
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..00792fce7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.48 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.19 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.29 KiB [emitted] (name: main)
+./src/index.ts 149 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..0e8d1de4f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..5276e4b90
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.49 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.21 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.25 KiB [emitted] (name: main)
+./src/index.ts 113 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/dist/index.d.ts
new file mode 100644
index 000000000..c8844a138
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife3: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/dist/index.js
new file mode 100644
index 000000000..092e50ddf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife3 = void 0;
+var common_1 = require("common");
+var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife3 = getMeaningOfLife3;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..8066d65b0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..81e22975a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,21 @@
+assets by path ../../lib/dist/ 295 bytes
+ asset ../../lib/dist/index.js 241 bytes [emitted]
+ asset ../../lib/dist/index.d.ts 54 bytes [emitted]
+asset index.js 3.25 KiB [emitted] (name: main)
+asset ../../lib/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 413 bytes [cached] 2 modules
+./src/index.ts 113 bytes [built] [code generated] [2 errors]
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/app/dist/index.js
new file mode 100644
index 000000000..0e6b03da8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..0e8d1de4f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..a4675c0d2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.49 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.21 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.29 KiB [emitted] (name: main)
+./src/index.ts 149 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..0e8d1de4f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..5276e4b90
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.49 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.21 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.25 KiB [emitted] (name: main)
+./src/index.ts 113 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.d.ts
new file mode 100644
index 000000000..c8844a138
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife3: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.js
new file mode 100644
index 000000000..092e50ddf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife3 = void 0;
+var common_1 = require("common");
+var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife3 = getMeaningOfLife3;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..8066d65b0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..69a26b98f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,21 @@
+assets by path ../../lib/dist/ 295 bytes
+ asset ../../lib/dist/index.js 241 bytes [emitted]
+ asset ../../lib/dist/index.d.ts 54 bytes [emitted]
+asset index.js 3.25 KiB [emitted] (name: main)
+asset ../../lib/tsconfig.tsbuildinfo 1.29 KiB [emitted]
+cached modules 413 bytes [cached] 2 modules
+./src/index.ts 113 bytes [built] [code generated] [2 errors]
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/app/dist/index.js
new file mode 100644
index 000000000..0e6b03da8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..0e8d1de4f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../node_modules/common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[7,6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..a4675c0d2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.49 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.21 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.29 KiB [emitted] (name: main)
+./src/index.ts 149 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b7c1cf040
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..4a8cac7ed
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.48 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.19 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.25 KiB [emitted] (name: main)
+./src/index.ts 113 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/app/dist/index.js
new file mode 100644
index 000000000..4f995f91c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.d.ts
new file mode 100644
index 000000000..c8844a138
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife3: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.js
new file mode 100644
index 000000000..092e50ddf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife3 = void 0;
+var common_1 = require("common");
+var getMeaningOfLife3 = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife3 = getMeaningOfLife3;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..4b7fcba69
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729",{"version":"852833616e510f30b68b4efa8b8f0080c0936671acbf52967e72b6c4ab0a72e9","signature":"f99922acc37970b3e751734a37d730d1382695bab7ffb6730f1aad484ef3828a"}],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..80a3bbba0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,21 @@
+assets by path ../../lib/dist/ 295 bytes
+ asset ../../lib/dist/index.js 241 bytes [emitted]
+ asset ../../lib/dist/index.d.ts 54 bytes [emitted]
+asset index.js 3.25 KiB [emitted] (name: main)
+asset ../../lib/tsconfig.tsbuildinfo 1.28 KiB [emitted]
+cached modules 413 bytes [cached] 2 modules
+./src/index.ts 113 bytes [built] [code generated] [2 errors]
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+ERROR in app/src/index.ts
+./src/index.ts 1:9-25
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp/src/index.ts(1,10)[39m[22m
+[1m[31m TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'?[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/app/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/app/dist/index.js
new file mode 100644
index 000000000..0e6b03da8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/app/dist/index.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/index.ts":
+/*!**********************!*\
+ !*** ./src/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! lib */ \"../lib/dist/index.js\");\nconsole.log((0, lib_1.getMeaningOfLife)());\n\n\n//# sourceURL=webpack:///./src/index.ts?");
+
+/***/ }),
+
+/***/ "../common/dist/index.js":
+/*!*******************************!*\
+ !*** ../common/dist/index.js ***!
+ \*******************************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife2 = void 0;\nvar getMeaningOfLife2 = function () { return 45; };\nexports.getMeaningOfLife2 = getMeaningOfLife2;\n\n\n//# sourceURL=webpack:///../common/dist/index.js?");
+
+/***/ }),
+
+/***/ "../lib/dist/index.js":
+/*!****************************!*\
+ !*** ../lib/dist/index.js ***!
+ \****************************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.getMeaningOfLife = void 0;\nvar common_1 = __webpack_require__(/*! common */ \"../common/dist/index.js\");\nvar getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };\nexports.getMeaningOfLife = getMeaningOfLife;\n\n\n//# sourceURL=webpack:///../lib/dist/index.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/index.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/dist/index.d.ts
new file mode 100644
index 000000000..f5c6ea299
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife2: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/dist/index.js
new file mode 100644
index 000000000..4a8b0cf63
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/dist/index.js
@@ -0,0 +1,5 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife2 = void 0;
+var getMeaningOfLife2 = function () { return 45; };
+exports.getMeaningOfLife2 = getMeaningOfLife2;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..3b66bd694
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/common/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"04a941e6fe6c7eb7913fa3105993c5282e1401287cef79308eed0201ee2c9ef9"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.d.ts b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.d.ts
new file mode 100644
index 000000000..fdb004ae6
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.d.ts
@@ -0,0 +1 @@
+export declare const getMeaningOfLife: () => number;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.js b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.js
new file mode 100644
index 000000000..0d848fba3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/dist/index.js
@@ -0,0 +1,6 @@
+"use strict";
+exports.__esModule = true;
+exports.getMeaningOfLife = void 0;
+var common_1 = require("common");
+var getMeaningOfLife = function () { return (0, common_1.getMeaningOfLife2)(); };
+exports.getMeaningOfLife = getMeaningOfLife;
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b7c1cf040
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","../common/dist/index.d.ts","./src/index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"ff3ea32a8da48d914c97453f41159f05f0eb54fefa17b664d412b6588d1ba729","1f22ba07ef5ca5b17da3030aee4582883803beb20e5bcc5b0cb29acb0289a635"],"options":{"composite":true,"newLine":1,"outDir":"./dist","rootDir":"./src","skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..00792fce7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,13 @@
+assets by path ../../lib/ 1.48 KiB
+ asset ../../lib/tsconfig.tsbuildinfo 1.19 KiB [compared for emit]
+ asset ../../lib/dist/index.js 237 bytes [compared for emit]
+ asset ../../lib/dist/index.d.ts 53 bytes [compared for emit]
+assets by path ../../common/ 1.29 KiB
+ asset ../../common/tsconfig.tsbuildinfo 1.07 KiB [compared for emit]
+ asset ../../common/dist/index.js 176 bytes [compared for emit]
+ asset ../../common/dist/index.d.ts 54 bytes [compared for emit]
+asset index.js 3.29 KiB [emitted] (name: main)
+./src/index.ts 149 bytes [built] [code generated]
+../lib/dist/index.js 237 bytes [built] [code generated]
+../common/dist/index.js 176 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..acae53107
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..5933866c1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..9032c302b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a0e1c4172
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..176a34417
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.63 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 221 bytes [emitted]
+asset lib/index.js 183 bytes [emitted]
+asset lib/index.d.ts 102 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 150 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..37918c4c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..a78598f4f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+cached modules 150 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..37918c4c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..364a9dd4b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+./app.ts 169 bytes [built] [code generated]
+./lib/index.ts 150 bytes [built] [2 errors]
+
+ERROR in lib/index.ts
+./lib/index.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/bundle.js
new file mode 100644
index 000000000..a79680487
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.js.map
new file mode 100644
index 000000000..6e255ed17
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..550a7bf47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..03f3752de
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 228 bytes [emitted]
+asset lib/index.js 178 bytes [emitted]
+asset lib/index.d.ts 120 bytes [emitted]
+./app.ts 169 bytes [built] [code generated]
+./lib/index.ts 145 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch4/bundle.js
new file mode 100644
index 000000000..04524b042
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..155dd19f1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 186 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 3:55-60
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,56)[39m[22m
+[1m[31m TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'?[39m[22m
+ts-loader-default_b7d520153c6e6cf9
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch5/bundle.js
new file mode 100644
index 000000000..1ed94b512
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..ae2f34874
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 185 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..0d9c20170
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..9032c302b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a0e1c4172
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..9b014e50b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 221 bytes [emitted]
+asset lib/index.js 183 bytes [emitted]
+asset lib/index.d.ts 102 bytes [emitted]
+./app.ts 167 bytes [built]
+./lib/index.ts 150 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..2a5f91e73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..9187126da
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.71 KiB [emitted] (name: main)
+cached modules 150 bytes [cached] 1 module
+./app.ts 205 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..2a5f91e73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..58b36e93c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,15 @@
+assets by status 2.71 KiB [cached] 1 asset
+./app.ts 205 bytes [built] [2 errors]
+./lib/index.ts 150 bytes [built]
+
+ERROR in ./app.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+ERROR in ./app.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_8f3b13c212135902
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/bundle.js
new file mode 100644
index 000000000..24c5db3e1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.js.map
new file mode 100644
index 000000000..6e255ed17
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..550a7bf47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..972312abe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.7 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 228 bytes [emitted]
+asset lib/index.js 178 bytes [emitted]
+asset lib/index.d.ts 120 bytes [emitted]
+./app.ts 205 bytes [built]
+./lib/index.ts 145 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch4/bundle.js
new file mode 100644
index 000000000..513a3cf30
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..dcfec6184
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 222 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch5/bundle.js
new file mode 100644
index 000000000..3ce8fbfbd
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..fdbcdfde1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 221 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7c49a1d6a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d0fb31ba2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..d3a32c648
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 403 bytes
+ asset lib/index.js 244 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 422 bytes
+ asset lib/index.js.map 232 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 171 bytes
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.08 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..4b7bbfb47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e5959c73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..7d742dbcb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 244 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 232 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 189 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 84 bytes [emitted]
+asset bundle.js 3.1 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..221d5c76c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..8aa013fbd
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.22 KiB [emitted] (name: main)
+cached modules 349 bytes [cached] 2 modules
+./app.ts 215 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..b8208873b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d0fb31ba2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..2baf61fc2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 403 bytes
+ asset lib/index.js 244 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 422 bytes
+ asset lib/index.js.map 232 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 171 bytes
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.12 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..67c436f8c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e5959c73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..be1e8b07e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 244 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 232 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 189 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 84 bytes [emitted]
+asset bundle.js 3.14 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+cached modules 211 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..e06f05499
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..d103d4a6f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.26 KiB [emitted] (name: main)
+cached modules 349 bytes [cached] 2 modules
+./app.ts 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7c49a1d6a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..061bed2d0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.08 KiB [emitted] (name: main)
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..bd3fafa73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a10509a5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..02e465696
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 257 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 252 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 189 bytes
+ asset lib/index.d.ts 102 bytes [compared for emit]
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+asset bundle.js 3.1 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+cached modules 125 bytes [cached] 1 module
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 224 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..7b956553a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..5430d1034
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..0838853ea
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 429 bytes
+ asset lib/index.js 257 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 462 bytes
+ asset lib/index.js.map 252 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 207 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+asset bundle.js 3.11 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 224 bytes [built] [code generated]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..12759dcf1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..11339ccac
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.23 KiB [emitted] (name: main)
+cached modules 362 bytes [cached] 2 modules
+./app.ts 215 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..b8208873b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..c094482c2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.12 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..9f118ab87
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a10509a5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..b1b064b72
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 257 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 252 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 189 bytes
+ asset lib/index.d.ts 102 bytes [compared for emit]
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+asset bundle.js 3.14 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+cached modules 125 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/index.ts 224 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..b1b78979f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..5430d1034
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..50e40bab8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 429 bytes
+ asset lib/index.js 257 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 462 bytes
+ asset lib/index.js.map 252 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 207 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+asset bundle.js 3.15 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+cached modules 224 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..8a68429bf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..cca0e5fd3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.27 KiB [emitted] (name: main)
+cached modules 362 bytes [cached] 2 modules
+./app.ts 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7c49a1d6a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..c3f20cf3f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,7 @@
+asset bundle.js 3.08 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 782 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..bd3fafa73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a10509a5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..3e9d05290
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,19 @@
+assets by status 2.18 KiB [compared for emit]
+ assets by path lib/*.js 416 bytes
+ asset lib/index.js 257 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+ assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 252 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+ assets by path lib/*.ts 189 bytes
+ asset lib/index.d.ts 102 bytes [compared for emit]
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+assets by status 3.87 KiB [emitted]
+ asset bundle.js 3.1 KiB [emitted] (name: main)
+ asset tsconfig.tsbuildinfo 782 bytes [emitted]
+ asset app.d.ts 11 bytes [emitted]
+cached modules 125 bytes [cached] 1 module
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 224 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d7e1e4b41
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch0/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..7b956553a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..5430d1034
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..3897a877d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,17 @@
+assets by path lib/ 2.4 KiB
+ assets by path lib/*.js 429 bytes
+ asset lib/index.js 257 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+ assets by path lib/*.map 462 bytes
+ asset lib/index.js.map 252 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+ assets by path lib/*.ts 207 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+ asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+asset bundle.js 3.11 KiB [emitted] (name: main)
+asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 224 bytes [built] [code generated]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..12759dcf1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..3f51b73af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 3.23 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 817 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+cached modules 362 bytes [cached] 2 modules
+./app.ts 215 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..f9d77a6c5
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/patch2/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./lib/helper.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582","7897218607",{"version":"-12553192154","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6,7]],"referencedMap":[[8,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b2db22971
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..b8208873b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..c094482c2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.12 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..9f118ab87
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a10509a5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..b1b064b72
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 257 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 252 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 189 bytes
+ asset lib/index.d.ts 102 bytes [compared for emit]
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+asset bundle.js 3.14 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+cached modules 125 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/index.ts 224 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..b1b78979f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..5430d1034
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..50e40bab8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 429 bytes
+ asset lib/index.js 257 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 462 bytes
+ asset lib/index.js.map 252 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 207 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+asset bundle.js 3.15 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+cached modules 224 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..8a68429bf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..cca0e5fd3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.27 KiB [emitted] (name: main)
+cached modules 362 bytes [cached] 2 modules
+./app.ts 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7c49a1d6a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..061bed2d0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.08 KiB [emitted] (name: main)
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..bd3fafa73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a10509a5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..02e465696
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 257 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 252 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 189 bytes
+ asset lib/index.d.ts 102 bytes [compared for emit]
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+asset bundle.js 3.1 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+cached modules 125 bytes [cached] 1 module
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 224 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..7b956553a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..5430d1034
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..0838853ea
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 429 bytes
+ asset lib/index.js 257 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 462 bytes
+ asset lib/index.js.map 252 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 207 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+asset bundle.js 3.11 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 224 bytes [built] [code generated]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..12759dcf1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..11339ccac
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.23 KiB [emitted] (name: main)
+cached modules 362 bytes [cached] 2 modules
+./app.ts 215 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..b8208873b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..c094482c2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 3.12 KiB [emitted] (name: main)
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..9f118ab87
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a10509a5c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..b1b064b72
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 257 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 252 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 189 bytes
+ asset lib/index.d.ts 102 bytes [compared for emit]
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+asset bundle.js 3.14 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+cached modules 125 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/index.ts 224 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..b1b78979f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js
new file mode 100644
index 000000000..c526f1a8b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three,
+ four: 4
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js.map
new file mode 100644
index 000000000..75ee60e19
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;IACnB,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..5430d1034
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"2433124b24fe94913871ceba0ffaaa1bb06e73b73a6f6b4181c52b6208eb922e","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..50e40bab8
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 429 bytes
+ asset lib/index.js 257 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 462 bytes
+ asset lib/index.js.map 252 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 207 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+asset bundle.js 3.15 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+cached modules 224 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..8a68429bf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..cca0e5fd3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFilesAlreadyBuilt_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.27 KiB [emitted] (name: main)
+cached modules 362 bytes [cached] 2 modules
+./app.ts 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7c49a1d6a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d0fb31ba2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..ef1fb5ba7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,19 @@
+assets by status 2.13 KiB [compared for emit]
+ assets by path lib/*.js 403 bytes
+ asset lib/index.js 244 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+ assets by path lib/*.map 422 bytes
+ asset lib/index.js.map 232 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+ assets by path lib/*.ts 171 bytes
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+ asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+assets by status 3.86 KiB [emitted]
+ asset bundle.js 3.08 KiB [emitted] (name: main)
+ asset tsconfig.tsbuildinfo 782 bytes [emitted]
+ asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..4b7bbfb47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e5959c73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..f17b4b51b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,17 @@
+assets by path lib/ 2.35 KiB
+ assets by path lib/*.js 416 bytes
+ asset lib/index.js 244 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+ assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 232 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+ assets by path lib/*.ts 189 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 84 bytes [emitted]
+ asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+asset bundle.js 3.1 KiB [emitted] (name: main)
+asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..221d5c76c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..967418fec
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 3.22 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 817 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+cached modules 349 bytes [cached] 2 modules
+./app.ts 215 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..8f8b56a9c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/patch1/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./lib/helper.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626","7897218607",{"version":"-12553192154","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6,7]],"referencedMap":[[8,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b2db22971
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..b8208873b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d0fb31ba2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..2baf61fc2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 403 bytes
+ asset lib/index.js 244 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 422 bytes
+ asset lib/index.js.map 232 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 171 bytes
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.12 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..67c436f8c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e5959c73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..be1e8b07e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 244 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 232 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 189 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 84 bytes [emitted]
+asset bundle.js 3.14 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+cached modules 211 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..e06f05499
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..d103d4a6f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.26 KiB [emitted] (name: main)
+cached modules 349 bytes [cached] 2 modules
+./app.ts 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7c49a1d6a
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d0fb31ba2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..d3a32c648
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 403 bytes
+ asset lib/index.js 244 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 422 bytes
+ asset lib/index.js.map 232 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 171 bytes
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.08 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..4b7bbfb47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e5959c73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..7d742dbcb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 244 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 232 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 189 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 84 bytes [emitted]
+asset bundle.js 3.1 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..221d5c76c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..8aa013fbd
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.22 KiB [emitted] (name: main)
+cached modules 349 bytes [cached] 2 modules
+./app.ts 215 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..b8208873b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.d.ts
new file mode 100644
index 000000000..ea0d91498
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.d.ts
@@ -0,0 +1,5 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.js
new file mode 100644
index 000000000..1159a61fe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.js.map
new file mode 100644
index 000000000..8de705855
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACX,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d0fb31ba2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"bd8500a78d56a07c2de3c8c735ca2ea8bfba63861da1c1e6a77f96ac5526c238","bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[[7,1]],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..2baf61fc2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 403 bytes
+ asset lib/index.js 244 bytes [compared for emit]
+ asset lib/helper.js 159 bytes [compared for emit]
+assets by path lib/*.map 422 bytes
+ asset lib/index.js.map 232 bytes [compared for emit]
+ asset lib/helper.js.map 190 bytes [compared for emit]
+assets by path lib/*.ts 171 bytes
+ asset lib/helper.d.ts 87 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+asset bundle.js 3.12 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.16 KiB [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 211 bytes [built] [code generated]
+./lib/helper.ts 125 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..67c436f8c
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
new file mode 100644
index 000000000..c9fffcbf7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.d.ts
@@ -0,0 +1,6 @@
+export declare const helper: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
new file mode 100644
index 000000000..fd4291075
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.helper = void 0;
+exports.helper = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4
+};
+//# sourceMappingURL=helper.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
new file mode 100644
index 000000000..9bdff574b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/helper.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"helper.js","sourceRoot":"","sources":["helper.ts"],"names":[],"mappings":";;;AAAa,QAAA,MAAM,GAAG;IAClB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;CACV,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..2944247f2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+var helper_1 = require("./helper");
+exports.lib = {
+ one: helper_1.helper.one,
+ two: helper_1.helper.two,
+ three: helper_1.helper.three
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..c02fb5203
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAA,mCAAkC;AACrB,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,GAAG,EAAE,eAAM,CAAC,GAAG;IACf,KAAK,EAAE,eAAM,CAAC,KAAK;CACpB,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..1e5959c73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./helper.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"1fb681e6157008026aa84db0d697833c02fcb11e4b1cb011820844edbffa703c","signature":"695f3f9978b7c5a431d1c0d00791cee3d41b76f2a13fddf525fd5d34431cab6a"},{"version":"bc4ed2b009cdf5f131d46c0ab70386155058ea9011c613bdf82b0b16dae6fa1c","signature":"82b9c263edd140802d0afbd57d557b2c41db16c5ad9a744bca8c71ad5b10f66f"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,7,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..be1e8b07e
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,15 @@
+assets by path lib/*.js 416 bytes
+ asset lib/index.js 244 bytes [emitted]
+ asset lib/helper.js 172 bytes [emitted]
+assets by path lib/*.map 442 bytes
+ asset lib/index.js.map 232 bytes [emitted]
+ asset lib/helper.js.map 210 bytes [emitted]
+assets by path lib/*.ts 189 bytes
+ asset lib/helper.d.ts 105 bytes [emitted]
+ asset lib/index.d.ts 84 bytes [emitted]
+asset bundle.js 3.14 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.33 KiB [emitted]
+cached modules 211 bytes [cached] 1 module
+./app.ts 167 bytes [built]
+./lib/helper.ts 138 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..e06f05499
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nvar helper_1 = __webpack_require__(/*! ./lib/helper */ \"./lib/helper.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, helper_1.helper.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/helper.ts":
+/*!***********************!*\
+ !*** ./lib/helper.ts ***!
+ \***********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.helper = void 0;\nexports.helper = {\n one: 1,\n two: 2,\n three: 3,\n four: 4\n};\n\n\n//# sourceURL=webpack:///./lib/helper.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nvar helper_1 = __webpack_require__(/*! ./helper */ \"./lib/helper.ts\");\nexports.lib = {\n one: helper_1.helper.one,\n two: helper_1.helper.two,\n three: helper_1.helper.three\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..d103d4a6f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatchRefWithTwoFiles_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 3.26 KiB [emitted] (name: main)
+cached modules 349 bytes [cached] 2 modules
+./app.ts 251 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..38ff985f7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,12 @@
+assets by status 1.46 KiB [compared for emit]
+ asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+ asset lib/index.js.map 188 bytes [compared for emit]
+ asset lib/index.js 152 bytes [compared for emit]
+ asset lib/index.d.ts 84 bytes [compared for emit]
+assets by status 3.37 KiB [emitted]
+ asset bundle.js 2.6 KiB [emitted] (name: main)
+ asset tsconfig.tsbuildinfo 782 bytes [emitted]
+ asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..5933866c1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..9032c302b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a0e1c4172
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..ed34ea454
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,11 @@
+assets by path lib/ 1.63 KiB
+ asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+ asset lib/index.js.map 221 bytes [emitted]
+ asset lib/index.js 183 bytes [emitted]
+ asset lib/index.d.ts 102 bytes [emitted]
+asset bundle.js 2.63 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 782 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 150 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..d7e1e4b41
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch0/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..37918c4c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..656038abf
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 782 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+cached modules 150 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..2f82cbe95
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch1/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11215156582",{"version":"-16299197056","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..37918c4c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..0cd4a33cb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,20 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+asset app.d.ts 11 bytes [emitted]
+./app.ts 169 bytes [built] [code generated]
+./lib/index.ts 150 bytes [built] [2 errors]
+
+ERROR in lib/index.ts
+./lib/index.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/bundle.js
new file mode 100644
index 000000000..a79680487
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.js.map
new file mode 100644
index 000000000..6e255ed17
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..550a7bf47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..697f3dd18
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,11 @@
+assets by path lib/ 1.65 KiB
+ asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+ asset lib/index.js.map 228 bytes [emitted]
+ asset lib/index.js 178 bytes [emitted]
+ asset lib/index.d.ts 120 bytes [emitted]
+asset bundle.js 2.66 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 782 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+./app.ts 169 bytes [built] [code generated]
+./lib/index.ts 145 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..e63b75067
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch3/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11496633944",{"version":"-16299197056","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/bundle.js
new file mode 100644
index 000000000..04524b042
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..da1290df9
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,13 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 782 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+cached modules 145 bytes [cached] 1 module
+./app.ts 186 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 3:55-60
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,56)[39m[22m
+[1m[31m TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'?[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..c42e66be0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11496633944",{"version":"-26657554079","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/app.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/bundle.js
new file mode 100644
index 000000000..1ed94b512
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..498ca60df
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,6 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+asset tsconfig.tsbuildinfo 782 bytes [emitted]
+asset app.d.ts 11 bytes [emitted]
+cached modules 145 bytes [cached] 1 module
+./app.ts 185 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..8377bbdc2
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/patch5/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"11496633944",{"version":"-21839530949","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..b2db22971
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.4/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../node_modules/typescript/lib/lib.d.ts","../../node_modules/typescript/lib/lib.es5.d.ts","../../node_modules/typescript/lib/lib.dom.d.ts","../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../node_modules/typescript/lib/lib.scripthost.d.ts","./lib/index.d.ts","./app.ts"],"fileInfos":["-10496480823",{"version":"-460919615842","affectsGlobalScope":true},{"version":"-687804919044","affectsGlobalScope":true},{"version":"-24714112149","affectsGlobalScope":true},{"version":"204309182321","affectsGlobalScope":true},"12503634626",{"version":"-14331559384","signature":"-3531856636"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true},"fileIdsList":[[6]],"referencedMap":[[7,1]],"exportedModulesMap":[]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..0d9c20170
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..9032c302b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a0e1c4172
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..9b014e50b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 221 bytes [emitted]
+asset lib/index.js 183 bytes [emitted]
+asset lib/index.d.ts 102 bytes [emitted]
+./app.ts 167 bytes [built]
+./lib/index.ts 150 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..2a5f91e73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..9187126da
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.71 KiB [emitted] (name: main)
+cached modules 150 bytes [cached] 1 module
+./app.ts 205 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..2a5f91e73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..1027dacb1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,15 @@
+assets by status 2.71 KiB [cached] 1 asset
+./app.ts 205 bytes [built] [2 errors]
+./lib/index.ts 150 bytes [built]
+
+ERROR in ./app.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+ERROR in ./app.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/bundle.js
new file mode 100644
index 000000000..24c5db3e1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js.map
new file mode 100644
index 000000000..6e255ed17
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..550a7bf47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..972312abe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.7 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 228 bytes [emitted]
+asset lib/index.js 178 bytes [emitted]
+asset lib/index.d.ts 120 bytes [emitted]
+./app.ts 205 bytes [built]
+./lib/index.ts 145 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch4/bundle.js
new file mode 100644
index 000000000..513a3cf30
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..dcfec6184
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 222 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch5/bundle.js
new file mode 100644
index 000000000..3ce8fbfbd
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..fdbcdfde1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 221 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7a5247318
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..acae53107
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.6 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..5933866c1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..9032c302b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a0e1c4172
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..176a34417
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.63 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 221 bytes [emitted]
+asset lib/index.js 183 bytes [emitted]
+asset lib/index.d.ts 102 bytes [emitted]
+./app.ts 131 bytes [built] [code generated]
+./lib/index.ts 150 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..37918c4c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..a78598f4f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+cached modules 150 bytes [cached] 1 module
+./app.ts 169 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch2/bundle.js
new file mode 100644
index 000000000..37918c4c3
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch2/output.txt
new file mode 100644
index 000000000..960120ce4
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch2/output.txt
@@ -0,0 +1,19 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+./app.ts 169 bytes [built] [code generated]
+./lib/index.ts 150 bytes [built] [2 errors]
+
+ERROR in lib/index.ts
+./lib/index.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+ERROR in lib/index.ts
+./lib/index.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_16c1704dade3bd5f
+ @ ./app.ts 3:12-28
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/bundle.js
new file mode 100644
index 000000000..a79680487
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.js.map
new file mode 100644
index 000000000..6e255ed17
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..550a7bf47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/output.txt
new file mode 100644
index 000000000..03f3752de
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.66 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 228 bytes [emitted]
+asset lib/index.js 178 bytes [emitted]
+asset lib/index.d.ts 120 bytes [emitted]
+./app.ts 169 bytes [built] [code generated]
+./lib/index.ts 145 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch4/bundle.js
new file mode 100644
index 000000000..04524b042
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch4/output.txt
new file mode 100644
index 000000000..7eeb11e02
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 186 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 3:55-60
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,56)[39m[22m
+[1m[31m TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'?[39m[22m
+ts-loader-default_16c1704dade3bd5f
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch5/bundle.js
new file mode 100644
index 000000000..1ed94b512
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch5/output.txt
new file mode 100644
index 000000000..ae2f34874
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.68 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 185 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..a3a6f5bb0
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
new file mode 100644
index 000000000..73d752279
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.d.ts
@@ -0,0 +1,5 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.js
new file mode 100644
index 000000000..e352a1efb
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.js
@@ -0,0 +1,9 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
new file mode 100644
index 000000000..d40fd63b7
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;CACT,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..01b06e08d
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},"28ead8445f54a115ea5f778da4f4f80579fbae42ac6ccc3493626084ed335839"],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca6ae89af
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.64 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.05 KiB [compared for emit]
+asset lib/index.js.map 188 bytes [compared for emit]
+asset lib/index.js 152 bytes [compared for emit]
+asset lib/index.d.ts 84 bytes [compared for emit]
+./app.ts 167 bytes [built] [code generated]
+./lib/index.ts 119 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..0d9c20170
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
new file mode 100644
index 000000000..78e83617f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.d.ts
@@ -0,0 +1,6 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
new file mode 100644
index 000000000..8826dde5f
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js
@@ -0,0 +1,10 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4 // Add new number
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
new file mode 100644
index 000000000..9032c302b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC,CAAC,iBAAiB;CAC1B,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..a0e1c4172
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"244518e7eae5520d792e5c61f0be65249602dd956014a68836c0a35ed686ba28","signature":"4323a7ca8bb142ba56fd9c74334a9e3d4d521a10907662b5d9ccb24936767c1e"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..9b014e50b
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.67 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 221 bytes [emitted]
+asset lib/index.js 183 bytes [emitted]
+asset lib/index.d.ts 102 bytes [emitted]
+./app.ts 167 bytes [built]
+./lib/index.ts 150 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..2a5f91e73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..9187126da
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.71 KiB [emitted] (name: main)
+cached modules 150 bytes [cached] 1 module
+./app.ts 205 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
new file mode 100644
index 000000000..2a5f91e73
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch2/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4 // Add new number\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
new file mode 100644
index 000000000..1027dacb1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch2/output.txt
@@ -0,0 +1,15 @@
+assets by status 2.71 KiB [cached] 1 asset
+./app.ts 205 bytes [built] [2 errors]
+./lib/index.ts 150 bytes [built]
+
+ERROR in ./app.ts 6:2-3
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(6,3)[39m[22m
+[1m[31m TS1136: Property assignment expected.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+ERROR in ./app.ts 7:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib/index.ts(7,1)[39m[22m
+[1m[31m TS1128: Declaration or statement expected.[39m[22m
+ts-loader-default_d3199d8b31480e4e
+
+webpack compiled with 2 errors
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/bundle.js
new file mode 100644
index 000000000..24c5db3e1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.d.ts b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.d.ts
new file mode 100644
index 000000000..bf8664e75
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.d.ts
@@ -0,0 +1,7 @@
+export declare const lib: {
+ one: number;
+ two: number;
+ three: number;
+ four: number;
+ five: number;
+};
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js
new file mode 100644
index 000000000..2a51bc571
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js
@@ -0,0 +1,11 @@
+"use strict";
+exports.__esModule = true;
+exports.lib = void 0;
+exports.lib = {
+ one: 1,
+ two: 2,
+ three: 3,
+ four: 4,
+ five: 5
+};
+//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js.map b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js.map
new file mode 100644
index 000000000..6e255ed17
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/index.js.map
@@ -0,0 +1 @@
+{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAAa,QAAA,GAAG,GAAG;IACjB,GAAG,EAAE,CAAC;IACN,GAAG,EAAE,CAAC;IACN,KAAK,EAAE,CAAC;IACR,IAAI,EAAE,CAAC;IACP,IAAI,EAAE,CAAC;CACR,CAAC"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo
new file mode 100644
index 000000000..550a7bf47
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/lib/tsconfig.tsbuildinfo
@@ -0,0 +1 @@
+{"program":{"fileNames":["../../../node_modules/typescript/lib/lib.d.ts","../../../node_modules/typescript/lib/lib.es5.d.ts","../../../node_modules/typescript/lib/lib.dom.d.ts","../../../node_modules/typescript/lib/lib.webworker.importscripts.d.ts","../../../node_modules/typescript/lib/lib.scripthost.d.ts","./index.ts"],"fileInfos":["2dc8c927c9c162a773c6bb3cdc4f3286c23f10eedc67414028f9cb5951610f60",{"version":"aa9fb4c70f369237c2f45f9d969c9a59e0eae9a192962eb48581fe864aa609db","affectsGlobalScope":true},{"version":"e54c8715a4954cfdc66cd69489f2b725c09ebf37492dbd91cff0a1688b1159e8","affectsGlobalScope":true},{"version":"7fac8cb5fc820bc2a59ae11ef1c5b38d3832c6d0dfaec5acdb5569137d09a481","affectsGlobalScope":true},{"version":"097a57355ded99c68e6df1b738990448e0bf170e606707df5a7c0481ff2427cd","affectsGlobalScope":true},{"version":"c250f21a4c1fc3baa49fd9af20e30f28a0c5a4c1ab58eead42bbca5482f3f963","signature":"64f0f3546d7b6f37dd84a10e5f8a7e22b917671569c4c3954c5a5cca5fcf74d8"}],"options":{"composite":true,"newLine":1,"skipLibCheck":true,"sourceMap":true},"referencedMap":[],"exportedModulesMap":[],"semanticDiagnosticsPerFile":[6,1,3,2,5,4]},"version":"4.4.2"}
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/output.txt
new file mode 100644
index 000000000..972312abe
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch3/output.txt
@@ -0,0 +1,8 @@
+asset bundle.js 2.7 KiB [emitted] (name: main)
+asset lib/tsconfig.tsbuildinfo 1.14 KiB [emitted]
+asset lib/index.js.map 228 bytes [emitted]
+asset lib/index.js 178 bytes [emitted]
+asset lib/index.d.ts 120 bytes [emitted]
+./app.ts 205 bytes [built]
+./lib/index.ts 145 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch4/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch4/bundle.js
new file mode 100644
index 000000000..513a3cf30
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.ffive); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch4/output.txt
new file mode 100644
index 000000000..dcfec6184
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 222 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch5/bundle.js b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch5/bundle.js
new file mode 100644
index 000000000..3ce8fbfbd
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch5/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar lib_1 = __webpack_require__(/*! ./lib */ \"./lib/index.ts\");\nconsole.log(lib_1.lib.one, lib_1.lib.two, lib_1.lib.three, lib_1.lib.four, lib_1.lib.five); // consume new number\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./lib/index.ts":
+/*!**********************!*\
+ !*** ./lib/index.ts ***!
+ \**********************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.lib = void 0;\nexports.lib = {\n one: 1,\n two: 2,\n three: 3,\n four: 4,\n five: 5\n};\n\n\n//# sourceURL=webpack:///./lib/index.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch5/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch5/output.txt
new file mode 100644
index 000000000..fdbcdfde1
--- /dev/null
+++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.4/patch5/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.72 KiB [emitted] (name: main)
+cached modules 145 bytes [cached] 1 module
+./app.ts 221 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/replacement/expectedOutput-4.4/bundle.js b/test/comparison-tests/replacement/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7e0ec013d
--- /dev/null
+++ b/test/comparison-tests/replacement/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?");
+
+/***/ }),
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./sub/dep.ts":
+/*!********************!*\
+ !*** ./sub/dep.ts ***!
+ \********************/
+/***/ ((module) => {
+
+eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/replacement/expectedOutput-4.4/output.txt b/test/comparison-tests/replacement/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..d2693e5d3
--- /dev/null
+++ b/test/comparison-tests/replacement/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.73 KiB [emitted] (name: main)
+./app.ts 81 bytes [built] [code generated]
+./a.ts 64 bytes [built] [code generated]
+./sub/dep.ts 61 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/replacement/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..385354ae9
--- /dev/null
+++ b/test/comparison-tests/replacement/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./a.ts":
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./dep */ \"./sub/dep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./a.ts?");
+
+/***/ }),
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar a = __webpack_require__(/*! ./a */ \"./a.ts\");\nconsole.log(a);\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./sub/dep.ts":
+/*!********************!*\
+ !*** ./sub/dep.ts ***!
+ \********************/
+/***/ ((module) => {
+
+eval("\nvar dep = 'replacement';\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./sub/dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/replacement/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/replacement/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..99812089a
--- /dev/null
+++ b/test/comparison-tests/replacement/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.77 KiB [emitted] (name: main)
+./app.ts 117 bytes [built] [code generated]
+./a.ts 64 bytes [built] [code generated]
+./sub/dep.ts 61 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.4/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..dc8e70ca9
--- /dev/null
+++ b/test/comparison-tests/reportFiles/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./skip.ts":
+/*!*****************!*\
+ !*** ./skip.ts ***!
+ \*****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nexports.__esModule = true;\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.4/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..ad78f6222
--- /dev/null
+++ b/test/comparison-tests/reportFiles/expectedOutput-4.4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 2.5 KiB [emitted] (name: main)
+./app.ts 98 bytes [built] [code generated] [1 error]
+./skip.ts 79 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:0-1
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,1)[39m[22m
+[1m[31m TS2322: Type 'string' is not assignable to type 'number'.[39m[22m
+ts-loader-default_caeb77cc684552b3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..43170d4ba
--- /dev/null
+++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.a = void 0;\n__webpack_require__(/*! ./skip */ \"./skip.ts\");\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./skip.ts":
+/*!*****************!*\
+ !*** ./skip.ts ***!
+ \*****************/
+/***/ ((__unused_webpack_module, exports) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nexports.a = void 0;\nexports.a = '10';\n\n\n//# sourceURL=webpack:///./skip.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/reportFiles/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..74c61abce
--- /dev/null
+++ b/test/comparison-tests/reportFiles/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.57 KiB [emitted] (name: main)
+./app.ts 134 bytes [built] [code generated]
+./skip.ts 115 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/app.d.ts b/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/app.d.ts
new file mode 100644
index 000000000..cb0ff5c3b
--- /dev/null
+++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/app.d.ts
@@ -0,0 +1 @@
+export {};
diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..3b3818def
--- /dev/null
+++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/bundle.js
@@ -0,0 +1 @@
+(()=>{"use strict";var o,r={816:o=>{o.exports={foo:"bar"}}},t={};o=function o(e){var s=t[e];if(void 0!==s)return s.exports;var n=t[e]={exports:{}};return r[e](n,n.exports,o),n.exports}(816),console.log(o.foo)})();
\ No newline at end of file
diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..b43441d80
--- /dev/null
+++ b/test/comparison-tests/resolveJsonModule/expectedOutput-4.4/output.txt
@@ -0,0 +1,11 @@
+asset bundle.js 213 bytes [emitted] [minimized] (name: main)
+asset app.d.ts 11 bytes [emitted]
+./app.ts 99 bytes [built] [code generated]
+./file.json 23 bytes [built] [code generated]
+
+WARNING in configuration
+The 'mode' option has not been set, webpack will fallback to 'production' for this value.
+Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
+You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
+
+webpack compiled with 1 warning
\ No newline at end of file
diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..3b3818def
--- /dev/null
+++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1 @@
+(()=>{"use strict";var o,r={816:o=>{o.exports={foo:"bar"}}},t={};o=function o(e){var s=t[e];if(void 0!==s)return s.exports;var n=t[e]={exports:{}};return r[e](n,n.exports,o),n.exports}(816),console.log(o.foo)})();
\ No newline at end of file
diff --git a/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..c9737a5eb
--- /dev/null
+++ b/test/comparison-tests/resolveJsonModule/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 213 bytes [emitted] [minimized] (name: main)
+./app.ts 135 bytes [built] [code generated]
+./file.json 23 bytes [built] [code generated]
+
+WARNING in configuration
+The 'mode' option has not been set, webpack will fallback to 'production' for this value.
+Set 'mode' option to 'development' or 'production' to enable defaults for each environment.
+You can also set it to 'none' to disable any default behavior. Learn more: https://webpack.js.org/configuration/mode/
+
+webpack compiled with 1 warning
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.4/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..e6ffa4164
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./deeperDep.ts":
+/*!**********************!*\
+ !*** ./deeperDep.ts ***!
+ \**********************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.4/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..956ea5790
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.77 KiB [emitted] (name: main)
+./app.ts 78 bytes [built] [code generated]
+./dep.ts 70 bytes [built] [code generated]
+./deeperDep.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..e6ffa4164
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./deeperDep.ts":
+/*!**********************!*\
+ !*** ./deeperDep.ts ***!
+ \**********************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..3cd46efb6
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,12 @@
+asset bundle.js 2.77 KiB [emitted] (name: main)
+cached modules 78 bytes [cached] 1 module
+./dep.ts 70 bytes [built] [code generated]
+./deeperDep.ts 76 bytes [built] [code generated]
+
+ERROR in app.ts
+./app.ts 3:4-6
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(3,5)[39m[22m
+[1m[31m TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..e6ffa4164
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nexports.__esModule = true;\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./deeperDep.ts":
+/*!**********************!*\
+ !*** ./deeperDep.ts ***!
+ \**********************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..8607ed293
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.77 KiB [emitted] (name: main)
+cached modules 78 bytes [cached] 1 module
+./dep.ts 70 bytes [built] [code generated]
+./deeperDep.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..7fbe5bd78
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./deeperDep.ts":
+/*!**********************!*\
+ !*** ./deeperDep.ts ***!
+ \**********************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..f2cae3727
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,5 @@
+asset bundle.js 2.81 KiB [emitted] (name: main)
+./app.ts 114 bytes [built] [code generated]
+./dep.ts 70 bytes [built] [code generated]
+./deeperDep.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..7fbe5bd78
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./deeperDep.ts":
+/*!**********************!*\
+ !*** ./deeperDep.ts ***!
+ \**********************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..52e6bbfec
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.81 KiB [emitted] (name: main)
+cached modules 184 bytes [cached] 2 modules
+./deeperDep.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..7fbe5bd78
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,77 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ "use strict";
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar dep = __webpack_require__(/*! ./dep */ \"./dep.ts\");\ndep('');\n\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ }),
+
+/***/ "./deeperDep.ts":
+/*!**********************!*\
+ !*** ./deeperDep.ts ***!
+ \**********************/
+/***/ ((module) => {
+
+eval("\nfunction doSomething(input) {\n}\nmodule.exports = doSomething;\n\n\n//# sourceURL=webpack:///./deeperDep.ts?");
+
+/***/ }),
+
+/***/ "./dep.ts":
+/*!****************!*\
+ !*** ./dep.ts ***!
+ \****************/
+/***/ ((module, __unused_webpack_exports, __webpack_require__) => {
+
+eval("\nvar dep = __webpack_require__(/*! ./deeperDep */ \"./deeperDep.ts\");\nmodule.exports = dep;\n\n\n//# sourceURL=webpack:///./dep.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..52e6bbfec
--- /dev/null
+++ b/test/comparison-tests/simpleDependency/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.81 KiB [emitted] (name: main)
+cached modules 184 bytes [cached] 2 modules
+./deeperDep.ts 76 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.4/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..73b9ea786
--- /dev/null
+++ b/test/comparison-tests/sourceMaps/expectedOutput-4.4/bundle.js
@@ -0,0 +1,10 @@
+/******/ (() => { // webpackBootstrap
+var __webpack_exports__ = {};
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+console.log('Hello world');
+
+/******/ })()
+;
+//# sourceMappingURL=bundle.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.4/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-4.4/bundle.js.map
new file mode 100644
index 000000000..c38d2be76
--- /dev/null
+++ b/test/comparison-tests/sourceMaps/expectedOutput-4.4/bundle.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["webpack:///./a.ts"],"names":[],"mappings":";;;;;AAAA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":["console.log('Hello world')"],"sourceRoot":""}
\ No newline at end of file
diff --git a/test/comparison-tests/sourceMaps/expectedOutput-4.4/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..05b214a4d
--- /dev/null
+++ b/test/comparison-tests/sourceMaps/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 206 bytes [emitted] (name: main) 1 related asset
+./a.ts 28 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..73b9ea786
--- /dev/null
+++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,10 @@
+/******/ (() => { // webpackBootstrap
+var __webpack_exports__ = {};
+/*!**************!*\
+ !*** ./a.ts ***!
+ \**************/
+console.log('Hello world');
+
+/******/ })()
+;
+//# sourceMappingURL=bundle.js.map
\ No newline at end of file
diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/bundle.js.map
new file mode 100644
index 000000000..c38d2be76
--- /dev/null
+++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/bundle.js.map
@@ -0,0 +1 @@
+{"version":3,"sources":["webpack:///./a.ts"],"names":[],"mappings":";;;;;AAAA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":["console.log('Hello world')"],"sourceRoot":""}
\ No newline at end of file
diff --git a/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..05b214a4d
--- /dev/null
+++ b/test/comparison-tests/sourceMaps/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 206 bytes [emitted] (name: main) 1 related asset
+./a.ts 28 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/stub-new-version.js b/test/comparison-tests/stub-new-version.js
index d09d29775..25874af47 100644
--- a/test/comparison-tests/stub-new-version.js
+++ b/test/comparison-tests/stub-new-version.js
@@ -8,8 +8,8 @@ const copySync = require('./copySync');
// find ./test/comparison-tests -type d -name '*expectedOutput*4.2' -print0 | xargs -0 -I {} /bin/rm -rf "{}"
// update this manually when a new version comes out
-const OLD_VERSION = '4.2';
-const NEW_VERSION = '4.3';
+const OLD_VERSION = '4.3';
+const NEW_VERSION = '4.4';
fs.readdirSync(__dirname).forEach(function(test) {
const testPath = path.join(__dirname, test);
diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.4/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..83ba5e0f2
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-4.4/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..ca30b95cb
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-4.4/output.txt
@@ -0,0 +1,22 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 39 bytes [built] [code generated] [3 errors]
+
+ERROR in tsconfig.json
+./app.ts tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS5024: Compiler option 'sourceMap' requires a value of type boolean.[39m[22m
+
+ERROR in tsconfig.json
+./app.ts tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'esnext'.[39m[22m
+
+ERROR in ./app.ts
+Module build failed (from ../../index.js):
+Error: [31merror while parsing tsconfig.json[39m
+ at Object.loader (dist/index.js:17:18)
+
+2 errors have detailed information that is not shown.
+Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
+
+webpack compiled with 3 errors
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..83ba5e0f2
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31merror while parsing tsconfig.json/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..ca30b95cb
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,22 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 39 bytes [built] [code generated] [3 errors]
+
+ERROR in tsconfig.json
+./app.ts tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS5024: Compiler option 'sourceMap' requires a value of type boolean.[39m[22m
+
+ERROR in tsconfig.json
+./app.ts tsconfig.json
+[90m[tsl] [39m[1m[31mERROR[39m[22m
+[1m[31m TS6046: Argument for '--target' option must be: 'es3', 'es5', 'es6', 'es2015', 'es2016', 'es2017', 'es2018', 'es2019', 'es2020', 'es2021', 'esnext'.[39m[22m
+
+ERROR in ./app.ts
+Module build failed (from ../../index.js):
+Error: [31merror while parsing tsconfig.json[39m
+ at Object.loader (dist/index.js:17:18)
+
+2 errors have detailed information that is not shown.
+Use 'stats.errorDetails: true' resp. '--stats-error-details' to show it.
+
+webpack compiled with 3 errors
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.4/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..5eef8848d
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../index.js):/nError: /u001b[31mA file specified in tsconfig.json could not be found: /tsconfigInvalidFile/i-am-a-file-what-does-not-exist.ts/u001b[39m/n at Object.loader (/workspaces/ts-loader/dist/index.js:17:18)\");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.4/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..8145d9246
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-4.4/output.txt
@@ -0,0 +1,9 @@
+asset bundle.js 1.45 KiB [emitted] (name: main)
+./app.ts 39 bytes [built] [code generated] [1 error]
+
+ERROR in ./app.ts
+Module build failed (from ../../index.js):
+Error: [31mA file specified in tsconfig.json could not be found: i-am-a-file-what-does-not-exist.ts[39m
+ at Object.loader (dist/index.js:17:18)
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..caacaea37
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..fa1edc432
--- /dev/null
+++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.14 KiB [emitted] (name: main)
+./app.ts 1 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-4.4/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..da7c506ab
--- /dev/null
+++ b/test/comparison-tests/tsconfigSearch/expectedOutput-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/app.ts":
+/*!********************!*\
+ !*** ./src/app.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nexports.__esModule = true;\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-4.4/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..43b982046
--- /dev/null
+++ b/test/comparison-tests/tsconfigSearch/expectedOutput-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.55 KiB [emitted] (name: main)
+./src/app.ts 112 bytes [built] [code generated]
+./lib/externalLib.js 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..2d04b17df
--- /dev/null
+++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,67 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./src/app.ts":
+/*!********************!*\
+ !*** ./src/app.ts ***!
+ \********************/
+/***/ ((__unused_webpack_module, exports, __webpack_require__) => {
+
+"use strict";
+eval("\nObject.defineProperty(exports, \"__esModule\", ({ value: true }));\nvar externalLib = __webpack_require__(/*! externalLib */ \"./lib/externalLib.js\");\nexternalLib.doSomething('');\n\n\n//# sourceURL=webpack:///./src/app.ts?");
+
+/***/ }),
+
+/***/ "./lib/externalLib.js":
+/*!****************************!*\
+ !*** ./lib/externalLib.js ***!
+ \****************************/
+/***/ ((module) => {
+
+eval("module.exports = {\n doSomething: function() { } \n}\n\n//# sourceURL=webpack:///./lib/externalLib.js?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/ // The module cache
+/******/ var __webpack_module_cache__ = {};
+/******/
+/******/ // The require function
+/******/ function __webpack_require__(moduleId) {
+/******/ // Check if module is in cache
+/******/ var cachedModule = __webpack_module_cache__[moduleId];
+/******/ if (cachedModule !== undefined) {
+/******/ return cachedModule.exports;
+/******/ }
+/******/ // Create a new module (and put it into the cache)
+/******/ var module = __webpack_module_cache__[moduleId] = {
+/******/ // no module.id needed
+/******/ // no module.loaded needed
+/******/ exports: {}
+/******/ };
+/******/
+/******/ // Execute the module function
+/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
+/******/
+/******/ // Return the exports of the module
+/******/ return module.exports;
+/******/ }
+/******/
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = __webpack_require__("./src/app.ts");
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..187df947a
--- /dev/null
+++ b/test/comparison-tests/tsconfigSearch/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,4 @@
+asset bundle.js 2.59 KiB [emitted] (name: main)
+./src/app.ts 148 bytes [built] [code generated]
+./lib/externalLib.js 55 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..90825f635
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..53f886011
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 212 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch0/bundle.js
new file mode 100644
index 000000000..90825f635
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch0/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch0/output.txt
new file mode 100644
index 000000000..5c363120e
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch0/output.txt
@@ -0,0 +1,10 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 212 bytes [built] [code generated] [1 error]
+
+ERROR in app.ts
+./app.ts 11:4-5
+[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(11,5)[39m[22m
+[1m[31m TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'.[39m[22m
+ts-loader-default_609318b4f68865d3
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch1/bundle.js
new file mode 100644
index 000000000..90825f635
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch1/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch1/output.txt
new file mode 100644
index 000000000..53f886011
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 212 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..90825f635
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..53f886011
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 212 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch0/bundle.js
new file mode 100644
index 000000000..90825f635
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch0/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch0/output.txt
new file mode 100644
index 000000000..53f886011
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch0/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 212 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch1/bundle.js
new file mode 100644
index 000000000..90825f635
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch1/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+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?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module can't be inlined because the eval devtool is used.
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch1/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch1/output.txt
new file mode 100644
index 000000000..53f886011
--- /dev/null
+++ b/test/comparison-tests/typeSystemWatch/expectedOutput-transpile-4.4/patch1/output.txt
@@ -0,0 +1,3 @@
+asset bundle.js 1.35 KiB [emitted] (name: main)
+./app.ts 212 bytes [built] [code generated]
+webpack compiled successfully
\ No newline at end of file
diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.4/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.4/bundle.js
new file mode 100644
index 000000000..7051d6d1c
--- /dev/null
+++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../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 / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:145:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:102:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:14:21)\");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.4/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.4/output.txt
new file mode 100644
index 000000000..a0256a332
--- /dev/null
+++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-4.4/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 2.04 KiB [emitted] (name: main)
+./app.ts 39 bytes [built] [code generated] [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 / useCaseSensitiveFileNames
+
+ at validateLoaderOptions (dist/index.js:145:19)
+ at getLoaderOptions (dist/index.js:102:5)
+ at Object.loader (dist/index.js:14:21)
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.4/bundle.js b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.4/bundle.js
new file mode 100644
index 000000000..7051d6d1c
--- /dev/null
+++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.4/bundle.js
@@ -0,0 +1,32 @@
+/*
+ * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development").
+ * This devtool is neither made for production nor for readable output files.
+ * It uses "eval()" calls to create a separate source file in the browser devtools.
+ * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
+ * or disable the default devtool with "devtool: false".
+ * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
+ */
+/******/ (() => { // webpackBootstrap
+/******/ var __webpack_modules__ = ({
+
+/***/ "./app.ts":
+/*!****************!*\
+ !*** ./app.ts ***!
+ \****************/
+/***/ (() => {
+
+eval("throw new Error(\"Module build failed (from ../../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 / useCaseSensitiveFileNames/n/n at validateLoaderOptions (/workspaces/ts-loader/dist/index.js:145:19)/n at getLoaderOptions (/workspaces/ts-loader/dist/index.js:102:5)/n at Object.loader (/workspaces/ts-loader/dist/index.js:14:21)\");\n\n//# sourceURL=webpack:///./app.ts?");
+
+/***/ })
+
+/******/ });
+/************************************************************************/
+/******/
+/******/ // startup
+/******/ // Load entry module and return exports
+/******/ // This entry module doesn't tell about it's top-level declarations so it can't be inlined
+/******/ var __webpack_exports__ = {};
+/******/ __webpack_modules__["./app.ts"]();
+/******/
+/******/ })()
+;
\ No newline at end of file
diff --git a/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.4/output.txt b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.4/output.txt
new file mode 100644
index 000000000..a0256a332
--- /dev/null
+++ b/test/comparison-tests/validateLoaderOptionNames/expectedOutput-transpile-4.4/output.txt
@@ -0,0 +1,15 @@
+asset bundle.js 2.04 KiB [emitted] (name: main)
+./app.ts 39 bytes [built] [code generated] [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 / useCaseSensitiveFileNames
+
+ at validateLoaderOptions (dist/index.js:145:19)
+ at getLoaderOptions (dist/index.js:102:5)
+ at Object.loader (dist/index.js:14:21)
+
+webpack compiled with 1 error
\ No newline at end of file
diff --git a/yarn.lock b/yarn.lock
index 4dec61b41..eb04baffc 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -5222,9 +5222,9 @@ typedarray@^0.0.6:
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
typescript@^4.3.2:
- version "4.3.5"
- resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.3.5.tgz#4d1c37cc16e893973c45a06886b7113234f119f4"
- integrity sha512-DqQgihaQ9cUrskJo9kIyW/+g0Vxsk8cDtZ52a3NGh0YNTfpUSArXSohyUGnvbPazEPLu398C0UxmKSOrPumUzA==
+ version "4.4.2"
+ resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.4.2.tgz#6d618640d430e3569a1dfb44f7d7e600ced3ee86"
+ integrity sha512-gzP+t5W4hdy4c+68bfcv0t400HVJMMd2+H9B7gae1nQlBzCqvrXX+6GL/b3GAgyTH966pzrZ70/fRjwAtZksSQ==
ua-parser-js@^0.7.23:
version "0.7.26"