From a8597e3366ba6f3543cd532db71a5bc3bd50a47a Mon Sep 17 00:00:00 2001 From: Evgeniy Timokhov Date: Tue, 18 May 2021 05:41:02 +0100 Subject: [PATCH] Fixed generating cache for loading options to handle objects (#1317) * fix: Fixed generating cache for loading options to handle objects Fixes #1316 * fix: Updated ts-loader instance hash in tests * Added changelog and changed version in package.json --- CHANGELOG.md | 4 + package.json | 2 +- src/index.ts | 6 +- .../expectedOutput-4.2/output.txt | 4 +- .../expectedOutput-4.2/patch0/output.txt | 4 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../colors/expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 4 +- .../expectedOutput-4.2/output.txt | 4 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 4 +- .../errors/expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../es3/expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch1/output.txt | 2 +- .../loaderOptionsCaching/app.ts | 2 + .../expectedOutput-4.2/bundle.js | 118 ++++++++++++++++++ .../expectedOutput-4.2/output.txt | 7 ++ .../expectedOutput-transpile-4.2/bundle.js | 118 ++++++++++++++++++ .../expectedOutput-transpile-4.2/output.txt | 7 ++ .../submodule-es5/index.ts | 2 + .../submodule-es5/tsconfig.json | 5 + .../submodule-es6/index.ts | 7 ++ .../submodule-es6/tsconfig.json | 5 + .../loaderOptionsCaching/tsconfig.json | 5 + .../loaderOptionsCaching/webpack.config.js | 32 +++++ .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../production/expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/patch3/output.txt | 2 +- .../expectedOutput-4.2/patch5/output.txt | 2 +- .../patch0/output.txt | 2 +- .../patch3/output.txt | 2 +- .../patch5/output.txt | 2 +- .../expectedOutput-4.2/patch3/output.txt | 2 +- .../expectedOutput-4.2/patch5/output.txt | 2 +- .../patch3/output.txt | 2 +- .../patch5/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-transpile-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch2/output.txt | 4 +- .../expectedOutput-4.2/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +- .../expectedOutput-4.2/patch2/output.txt | 4 +- .../expectedOutput-4.2/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/patch2/output.txt | 4 +- .../expectedOutput-4.2/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +- .../expectedOutput-4.2/patch2/output.txt | 4 +- .../expectedOutput-4.2/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +- .../expectedOutput-4.2/patch2/output.txt | 4 +- .../expectedOutput-4.2/patch4/output.txt | 2 +- .../patch2/output.txt | 4 +- .../reportFiles/expectedOutput-4.2/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- .../expectedOutput-4.2/patch0/output.txt | 2 +- 80 files changed, 398 insertions(+), 84 deletions(-) create mode 100644 test/comparison-tests/loaderOptionsCaching/app.ts create mode 100644 test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/bundle.js create mode 100644 test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/output.txt create mode 100644 test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/bundle.js create mode 100644 test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/output.txt create mode 100644 test/comparison-tests/loaderOptionsCaching/submodule-es5/index.ts create mode 100644 test/comparison-tests/loaderOptionsCaching/submodule-es5/tsconfig.json create mode 100644 test/comparison-tests/loaderOptionsCaching/submodule-es6/index.ts create mode 100644 test/comparison-tests/loaderOptionsCaching/submodule-es6/tsconfig.json create mode 100644 test/comparison-tests/loaderOptionsCaching/tsconfig.json create mode 100644 test/comparison-tests/loaderOptionsCaching/webpack.config.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 97c09f42b..c3d286f00 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## v9.2.0 + +* [Fixed impossibility to have several instances of ts-loader with different compiler options](https://github.com/TypeStrong/ts-loader/issues/1316) - thanks @timocov + ## v9.1.2 * [Fix removed files handling in watch mode](https://github.com/TypeStrong/ts-loader/pull/1293) - thanks @gasnier diff --git a/package.json b/package.json index f250fea94..4c53afe1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ts-loader", - "version": "9.1.2", + "version": "9.2.0", "description": "TypeScript loader for webpack", "main": "index.js", "types": "dist", diff --git a/src/index.ts b/src/index.ts index 45b95a5f1..4a06d0482 100644 --- a/src/index.ts +++ b/src/index.ts @@ -161,8 +161,10 @@ function getOptionsHash(loaderOptions: LoaderOptions) { const hash = crypto.createHash('sha256'); Object.keys(loaderOptions).forEach(key => { const value = loaderOptions[key]; - if (value) { - hash.update(key + value.toString()); + if (value !== undefined) { + const valueString = + typeof value === 'function' ? value.toString() : JSON.stringify(value); + hash.update(key + valueString); } }); return hash.digest('hex').substring(0, 16); diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.2/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.2/output.txt index 9ec79bf29..1258b61ed 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.2/output.txt @@ -6,12 +6,12 @@ ERROR in app.ts ./app.ts 1:29-53 [tsl] ERROR in app.ts(1,30)  TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 ERROR in app.ts ./app.ts 2:30-55 [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-4.2/patch0/output.txt index 11139dbc0..b9e20a7e7 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-4.2/patch0/output.txt @@ -6,12 +6,12 @@ ERROR in app.ts ./app.ts 1:29-53 [tsl] ERROR in app.ts(1,30)  TS2307: Cannot find module 'components/myComponent' or its corresponding type declarations. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 ERROR in app.ts ./app.ts 2:30-55 [tsl] ERROR in app.ts(2,31)  TS2307: Cannot find module 'components/myComponent2' or its corresponding type declarations. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.2/output.txt b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.2/output.txt index ee61d9095..fc3a0033f 100644 --- a/test/comparison-tests/allowJs-ts-check/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/allowJs-ts-check/expectedOutput-4.2/output.txt @@ -7,7 +7,7 @@ ERROR in src/error2.js ./src/error2.js 4:9-12 [tsl] ERROR in src/error2.js(4,10)  TS2339: Property 'bar' does not exist on type 'Class2'. -ts-loader-default_b02295d909a3e7cf +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/basic/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/basic/expectedOutput-4.2/patch0/output.txt index 9845c03bf..0d462e53f 100644 --- a/test/comparison-tests/basic/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/basic/expectedOutput-4.2/patch0/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:12-24 [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/colors/expectedOutput-4.2/output.txt b/test/comparison-tests/colors/expectedOutput-4.2/output.txt index 260b0fd7f..25c6f3079 100644 --- a/test/comparison-tests/colors/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/colors/expectedOutput-4.2/output.txt @@ -14,6 +14,6 @@ ERROR in app.ts ./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. -ts-loader-default_b02295d909a3e7cf +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.2/output.txt b/test/comparison-tests/colors/expectedOutput-transpile-4.2/output.txt index 797e1b52d..e125d9c3a 100644 --- a/test/comparison-tests/colors/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/colors/expectedOutput-transpile-4.2/output.txt @@ -5,7 +5,7 @@ ERROR in app.ts ./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7) TS1005: ',' expected. -ts-loader-default_66eeaf8be3a46130 +ts-loader-default_94b2ce3d1ca5f363 ERROR in ./app.ts 2:1 Module parse failed: Unexpected token (2:1) diff --git a/test/comparison-tests/declarationDeps/expectedOutput-4.2/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-4.2/output.txt index 59cfaa632..cd9c0beb4 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/declarationDeps/expectedOutput-4.2/output.txt @@ -5,6 +5,6 @@ ERROR in app.ts ./app.ts 2:6-11 [tsl] ERROR in app.ts(2,7)  TS2339: Property 'sayHi' does not exist on type 'typeof Hello'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-4.2/patch0/output.txt index 41793ad3f..0fcbb7ef2 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/declarationWatch/expectedOutput-4.2/patch0/output.txt @@ -6,13 +6,13 @@ ERROR in app.ts ./app.ts 5:6-17 [tsl] ERROR in app.ts(5,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 ERROR in dep.ts ./dep.ts 1:6-17 [tsl] ERROR in dep.ts(1,7)  TS2339: Property 'doSomething' does not exist on type 'typeof Thing'. -ts-loader-default_b02295d909a3e7cf +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/dependencyErrors/expectedOutput-4.2/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.2/output.txt index ed5679733..f8986b0d2 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.2/output.txt @@ -7,12 +7,12 @@ ERROR in app.ts ./app.ts 4:5-7 [tsl] ERROR in app.ts(4,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 ERROR in app.ts ./app.ts 5:5-7 [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-4.2/patch0/output.txt index 648f8da78..c4cd7427a 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-4.2/patch0/output.txt @@ -7,6 +7,6 @@ ERROR in app.ts ./app.ts 5:5-7 [tsl] ERROR in app.ts(5,6)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/errorFormatter/expectedOutput-4.2/output.txt b/test/comparison-tests/errorFormatter/expectedOutput-4.2/output.txt index 5adba937d..57bf27ad4 100644 --- a/test/comparison-tests/errorFormatter/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/errorFormatter/expectedOutput-4.2/output.txt @@ -5,11 +5,11 @@ asset bundle.js 2.6 KiB [emitted] (name: main) ERROR in app.ts ./app.ts 1:29-53 Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent' or its corresponding type declarations.,file: app.ts,line: 1,character: 30,context: .test/errorFormatter -ts-loader-default_6241146af0584e95 +ts-loader-default_85b0565984bbe8dd ERROR in app.ts ./app.ts 2:30-55 Does not compute.... code: 2307,severity: error,content: Cannot find module 'components/myComponent2' or its corresponding type declarations.,file: app.ts,line: 2,character: 31,context: .test/errorFormatter -ts-loader-default_6241146af0584e95 +ts-loader-default_85b0565984bbe8dd webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-4.2/output.txt b/test/comparison-tests/errors/expectedOutput-4.2/output.txt index c3d72c9a6..bdecc2c91 100644 --- a/test/comparison-tests/errors/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/errors/expectedOutput-4.2/output.txt @@ -14,6 +14,6 @@ ERROR in app.ts ./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. -ts-loader-default_b02295d909a3e7cf +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.2/output.txt b/test/comparison-tests/errors/expectedOutput-transpile-4.2/output.txt index df7a5cc78..1830fe9dc 100644 --- a/test/comparison-tests/errors/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/errors/expectedOutput-transpile-4.2/output.txt @@ -5,7 +5,7 @@ ERROR in app.ts ./app.ts 1:6-8 [tsl] ERROR in app.ts(1,7)  TS1005: ',' expected. -ts-loader-default_66eeaf8be3a46130 +ts-loader-default_de8929d96064b0d0 ERROR in ./app.ts 2:1 Module parse failed: Unexpected token (2:1) diff --git a/test/comparison-tests/es3/expectedOutput-4.2/output.txt b/test/comparison-tests/es3/expectedOutput-4.2/output.txt index 86f27ad07..8b7271459 100644 --- a/test/comparison-tests/es3/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/es3/expectedOutput-4.2/output.txt @@ -5,6 +5,6 @@ ERROR in app.ts ./app.ts 1:6-7 [tsl] ERROR in app.ts(1,7)  TS1056: Accessors are only available when targeting ECMAScript 5 and higher. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.2/output.txt b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.2/output.txt index cf87c6783..a6aded512 100644 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-4.2/output.txt @@ -5,6 +5,6 @@ ERROR in app.ts ./app.ts 9:4-5 [tsl] ERROR in app.ts(9,5)  TS2322: Type 'string' is not assignable to type 'Number'. -ts-loader-default_cf939062d980a567 +ts-loader-default_2830fdd0bda34e31 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-4.2/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-4.2/patch1/output.txt index ed98e3f8c..3df43a154 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-4.2/patch1/output.txt +++ b/test/comparison-tests/importsWatch/expectedOutput-4.2/patch1/output.txt @@ -5,6 +5,6 @@ ERROR in app.ts ./app.ts 4:0-7 [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'boolean'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/loaderOptionsCaching/app.ts b/test/comparison-tests/loaderOptionsCaching/app.ts new file mode 100644 index 000000000..fbb9debdf --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/app.ts @@ -0,0 +1,2 @@ +import './submodule-es5'; +import './submodule-es6'; diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/bundle.js b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/bundle.js new file mode 100644 index 000000000..907ba8347 --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/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]);\r\nfor (const value of set) {\r\n console.log(value);\r\n}\r\nconst string = 'Hello from es6 file';\r\nconsole.log(string);\r\n\n\n//# sourceURL=webpack:///./submodule-es6/index.ts?"); + +/***/ }), + +/***/ "./submodule-es5/index.ts": +/*!********************************!*\ + !*** ./submodule-es5/index.ts ***! + \********************************/ +/***/ (() => { + +eval("var string = 'Hello from es5 file';\r\nconsole.log(string);\r\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.2/output.txt b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/output.txt new file mode 100644 index 000000000..9d92bafaa --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-4.2/output.txt @@ -0,0 +1,7 @@ +asset bundle.js 5.1 KiB [emitted] (name: main) +runtime modules 937 bytes 4 modules +cacheable modules 256 bytes + ./app.ts 52 bytes [built] [code generated] + ./submodule-es5/index.ts 59 bytes [built] [code generated] + ./submodule-es6/index.ts 145 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/bundle.js b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/bundle.js new file mode 100644 index 000000000..907ba8347 --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/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]);\r\nfor (const value of set) {\r\n console.log(value);\r\n}\r\nconst string = 'Hello from es6 file';\r\nconsole.log(string);\r\n\n\n//# sourceURL=webpack:///./submodule-es6/index.ts?"); + +/***/ }), + +/***/ "./submodule-es5/index.ts": +/*!********************************!*\ + !*** ./submodule-es5/index.ts ***! + \********************************/ +/***/ (() => { + +eval("var string = 'Hello from es5 file';\r\nconsole.log(string);\r\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.2/output.txt b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/output.txt new file mode 100644 index 000000000..9d92bafaa --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/expectedOutput-transpile-4.2/output.txt @@ -0,0 +1,7 @@ +asset bundle.js 5.1 KiB [emitted] (name: main) +runtime modules 937 bytes 4 modules +cacheable modules 256 bytes + ./app.ts 52 bytes [built] [code generated] + ./submodule-es5/index.ts 59 bytes [built] [code generated] + ./submodule-es6/index.ts 145 bytes [built] [code generated] +webpack compiled successfully \ No newline at end of file diff --git a/test/comparison-tests/loaderOptionsCaching/submodule-es5/index.ts b/test/comparison-tests/loaderOptionsCaching/submodule-es5/index.ts new file mode 100644 index 000000000..23c844e8a --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/submodule-es5/index.ts @@ -0,0 +1,2 @@ +const string = 'Hello from es5 file'; +console.log(string); diff --git a/test/comparison-tests/loaderOptionsCaching/submodule-es5/tsconfig.json b/test/comparison-tests/loaderOptionsCaching/submodule-es5/tsconfig.json new file mode 100644 index 000000000..fa3e10a3d --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/submodule-es5/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "target": "es5" + } +} diff --git a/test/comparison-tests/loaderOptionsCaching/submodule-es6/index.ts b/test/comparison-tests/loaderOptionsCaching/submodule-es6/index.ts new file mode 100644 index 000000000..f59c741a4 --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/submodule-es6/index.ts @@ -0,0 +1,7 @@ +const set = new Set([42]); +for (const value of set) { + console.log(value); +} + +const string = 'Hello from es6 file'; +console.log(string); diff --git a/test/comparison-tests/loaderOptionsCaching/submodule-es6/tsconfig.json b/test/comparison-tests/loaderOptionsCaching/submodule-es6/tsconfig.json new file mode 100644 index 000000000..ea71f9415 --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/submodule-es6/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "target": "es6" + } +} \ No newline at end of file diff --git a/test/comparison-tests/loaderOptionsCaching/tsconfig.json b/test/comparison-tests/loaderOptionsCaching/tsconfig.json new file mode 100644 index 000000000..fa3e10a3d --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/tsconfig.json @@ -0,0 +1,5 @@ +{ + "compilerOptions": { + "target": "es5" + } +} diff --git a/test/comparison-tests/loaderOptionsCaching/webpack.config.js b/test/comparison-tests/loaderOptionsCaching/webpack.config.js new file mode 100644 index 000000000..82a2f161b --- /dev/null +++ b/test/comparison-tests/loaderOptionsCaching/webpack.config.js @@ -0,0 +1,32 @@ +module.exports = { + mode: 'development', + entry: './app.ts', + output: { + filename: 'bundle.js' + }, + resolve: { + extensions: ['.ts'] + }, + module: { + rules: [ + { + test: /submodule-es6.*\.ts$/, + loader: 'ts-loader', + options: { + compilerOptions: { + target: 'es6', + }, + }, + }, + { + test: /submodule-es5.*\.ts$/, + loader: 'ts-loader', + options: { + compilerOptions: { + target: 'es5', + }, + }, + } + ] + } +} diff --git a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.2/output.txt b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.2/output.txt index e997102aa..83eacef8c 100644 --- a/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/localTsImplementationOfTypings/expectedOutput-4.2/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 1:29-34 [tsl] ERROR in app.ts(1,30)  TS2307: Cannot find module 'api' or its corresponding type declarations. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.2/patch0/output.txt index 58a8b8956..d8fb7fc3e 100644 --- a/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/onlyCompileBundledFiles/expectedOutput-4.2/patch0/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:12-24 [tsl] ERROR in app.ts(3,13)  TS2551: Property 'doSomething2' does not exist on type 'typeof externalLib'. Did you mean 'doSomething'? -ts-loader-default_b362dd68f4381513 +ts-loader-default_5848564071297d45 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/production/expectedOutput-4.2/output.txt b/test/comparison-tests/production/expectedOutput-4.2/output.txt index 5d62adf6e..2a8a489b7 100644 --- a/test/comparison-tests/production/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/production/expectedOutput-4.2/output.txt @@ -5,6 +5,6 @@ ERROR in app.ts ./app.ts 4:0-1 [tsl] ERROR in app.ts(4,1)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch0/output.txt index ed331efa2..1ad672d46 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch0/output.txt @@ -24,6 +24,6 @@ ERROR in indirectWithError/fileWithError.ts 2:4-17 [tsl] ERROR in indirectWithError/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch3/output.txt index c1ce874fc..edcecc389 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch3/output.txt @@ -7,6 +7,6 @@ ERROR in unreferencedIndirect/index.ts 2:2-50 [tsl] ERROR in unreferencedIndirect/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch5/output.txt index 6a7c4e8ac..0dfe5e642 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-4.2/patch5/output.txt @@ -7,6 +7,6 @@ ERROR in unreferenced/index.ts 2:2-40 [tsl] ERROR in unreferenced/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch0/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch0/output.txt index efddd486e..0dc4b6629 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch0/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch0/output.txt @@ -15,7 +15,7 @@ assets by status 5.98 KiB [emitted] ERROR in ./app.ts 2:4-17 [tsl] ERROR in indirectWithError/fileWithError.ts(2,5)  TS2322: Type 'boolean' is not assignable to type 'string'. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 ERROR in ./utils/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch3/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch3/output.txt index 90180bfed..bb206220e 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch3/output.txt @@ -6,6 +6,6 @@ cached modules 416 bytes [cached] 3 modules ERROR in ./app.ts 2:2-50 [tsl] ERROR in unreferencedIndirect/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_28ca491bfec2827f +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.2/patch5/output.txt b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch5/output.txt index f4cb922d6..4fb48b9ab 100644 --- a/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-4.2/patch5/output.txt @@ -6,6 +6,6 @@ cached modules 416 bytes [cached] 3 modules ERROR in ./app.ts 2:2-40 [tsl] ERROR in unreferenced/index.ts(2,3)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch3/output.txt index 3d1230d9a..19c00480e 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch3/output.txt @@ -10,7 +10,7 @@ ERROR in common/index.ts ../common/index.ts 2:2-12 [tsl] ERROR in common/index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 @ ../utils/index.ts 4:15-35 @ ./app.ts 4:14-33 diff --git a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch5/output.txt index 52953b4da..8e007271c 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-4.2/patch5/output.txt @@ -9,7 +9,7 @@ ERROR in utils/index.ts ../utils/index.ts 5:35-50 [tsl] ERROR in utils/index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_d959ab86f3fcf84f +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-transpile-4.2/patch3/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.2/patch3/output.txt index 6db7f0652..b22c50656 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.2/patch3/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.2/patch3/output.txt @@ -9,6 +9,6 @@ modules by path ../ 377 bytes ERROR in ./app.ts 2:2-12 [tsl] ERROR in common/index.ts(2,3)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_28ca491bfec2827f +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.2/patch5/output.txt b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.2/patch5/output.txt index 0a02460ed..ff746c18b 100644 --- a/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.2/patch5/output.txt +++ b/test/comparison-tests/projectReferencesMultipleDifferentInstance/expectedOutput-transpile-4.2/patch5/output.txt @@ -8,6 +8,6 @@ cacheable modules 487 bytes ERROR in ./app.ts 5:35-50 [tsl] ERROR in utils/index.ts(5,36)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.2/output.txt index c2f18c112..1d0bf161b 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject/expectedOutput-4.2/output.txt @@ -10,6 +10,6 @@ ERROR in app.ts ./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.2/output.txt index a7cc96fff..2466d23a5 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_Composite_WatchApi/expectedOutput-4.2/output.txt @@ -14,6 +14,6 @@ ERROR in app.ts ./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. -ts-loader-default_ad9bee6dd825c8a5 +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-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.2/output.txt index ec93adf1f..8d8fba987 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_ErrorInProject_WatchApi/expectedOutput-4.2/output.txt @@ -10,6 +10,6 @@ ERROR in app.ts ./app.ts 3:45-49 [tsl] ERROR in app.ts(3,46)  TS2339: Property 'four' does not exist on type '{ one: number; two: number; three: number; }'. -ts-loader-default_ad9bee6dd825c8a5 +ts-loader-default_16c1704dade3bd5f webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.2/output.txt index d638108ae..faa32afe2 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-4.2/output.txt @@ -15,7 +15,7 @@ ERROR in lib/index.ts ./lib/index.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_d959ab86f3fcf84f +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.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.2/output.txt index 730968ef8..67148f945 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference/expectedOutput-transpile-4.2/output.txt @@ -6,7 +6,7 @@ asset lib/tsconfig.tsbuildinfo 2.78 KiB [compared for emit] ERROR in ./app.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 ERROR in ./lib/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt index 8da53e5f3..690e3d2e1 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt @@ -17,7 +17,7 @@ ERROR in lib/index.ts ./lib/index.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_ad9bee6dd825c8a5 +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-transpile-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.2/output.txt index 06059abba..da9c052b4 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.2/output.txt @@ -6,7 +6,7 @@ asset lib/tsconfig.tsbuildinfo 2.78 KiB [compared for emit] ERROR in ./app.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e ERROR in ./lib/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.2/output.txt index bc7fee583..7292255c5 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-4.2/output.txt @@ -15,7 +15,7 @@ ERROR in lib/index.ts ./lib/index.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_ad9bee6dd825c8a5 +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.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.2/output.txt index 7ec9feee0..95795fe6d 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SemanticErrorInReference_WatchApi/expectedOutput-transpile-4.2/output.txt @@ -6,7 +6,7 @@ asset lib/tsconfig.tsbuildinfo 2.78 KiB [compared for emit] ERROR in ./app.ts 6:6-7 [tsl] ERROR in lib/index.ts(6,7)  TS2322: Type 'number' is not assignable to type 'string'. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e ERROR in ./lib/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.2/output.txt index ee1481c1c..138b72844 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-4.2/output.txt @@ -14,7 +14,7 @@ ERROR in lib/index.ts ./lib/index.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. -ts-loader-default_d959ab86f3fcf84f +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.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.2/output.txt index e2ef975a9..1e1622a72 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference/expectedOutput-transpile-4.2/output.txt @@ -5,7 +5,7 @@ asset bundle.js 2.97 KiB [emitted] (name: main) ERROR in ./app.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 ERROR in ./lib/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt index abeebc0f0..00dab19d5 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-4.2/output.txt @@ -16,7 +16,7 @@ ERROR in lib/index.ts ./lib/index.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. -ts-loader-default_ad9bee6dd825c8a5 +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-transpile-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.2/output.txt index 4d763c2f8..d7a8cf16a 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_Composite_WatchApi/expectedOutput-transpile-4.2/output.txt @@ -5,7 +5,7 @@ asset bundle.js 2.99 KiB [emitted] (name: main) ERROR in ./app.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e ERROR in ./lib/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.2/output.txt index c8791995b..125db974a 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-4.2/output.txt @@ -14,7 +14,7 @@ ERROR in lib/index.ts ./lib/index.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. -ts-loader-default_ad9bee6dd825c8a5 +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.2/output.txt b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.2/output.txt index 153a2b343..0c8bd1d94 100644 --- a/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.2/output.txt +++ b/test/comparison-tests/projectReferencesNotBuilt_SyntaxErrorInReference_WatchApi/expectedOutput-transpile-4.2/output.txt @@ -5,7 +5,7 @@ asset bundle.js 2.98 KiB [emitted] (name: main) ERROR in ./app.ts 4:11-12 [tsl] ERROR in lib/index.ts(4,12)  TS1136: Property assignment expected. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e ERROR in ./lib/index.ts Module build failed (from ../../index.js): diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch2/output.txt index b238254db..51ee53622 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch2/output.txt @@ -6,12 +6,12 @@ ERROR in lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 ERROR in lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch4/output.txt index ad69b5285..6329b63b6 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-4.2/patch4/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.2/patch2/output.txt index 66785fff3..d1bf908d7 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJson/expectedOutput-transpile-4.2/patch2/output.txt @@ -5,11 +5,11 @@ cached modules 183 bytes [cached] 1 module ERROR in ./app.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 ERROR in ./app.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch2/output.txt index b238254db..51ee53622 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch2/output.txt @@ -6,12 +6,12 @@ ERROR in lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 ERROR in lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch4/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch4/output.txt index ad69b5285..6329b63b6 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch4/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-4.2/patch4/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.2/patch2/output.txt index 66785fff3..d1bf908d7 100644 --- a/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesOutDirWithPackageJsonAlreadyBuilt/expectedOutput-transpile-4.2/patch2/output.txt @@ -5,11 +5,11 @@ cached modules 183 bytes [cached] 1 module ERROR in ./app.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 ERROR in ./app.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.2/patch0/output.txt index 933fc200a..e22bb2726 100644 --- a/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks/expectedOutput-4.2/patch0/output.txt @@ -10,6 +10,6 @@ ERROR in app/src/index.ts ./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.2/patch0/output.txt index 892f3222f..6d6ec0193 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve/expectedOutput-4.2/patch0/output.txt @@ -10,6 +10,6 @@ ERROR in app/src/index.ts ./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.2/patch0/output.txt index 60a060de8..93acd5c32 100644 --- a/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinksPreserve_WatchApi/expectedOutput-4.2/patch0/output.txt @@ -10,6 +10,6 @@ ERROR in app/src/index.ts ./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_ad9bee6dd825c8a5 +ts-loader-default_16c1704dade3bd5f webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.2/patch0/output.txt index fe2b72c45..0a2b4d594 100644 --- a/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/projectReferencesSymLinks_WatchApi/expectedOutput-4.2/patch0/output.txt @@ -10,6 +10,6 @@ ERROR in app/src/index.ts ./src/index.ts 1:9-25 [tsl] ERROR in app/src/index.ts(1,10)  TS2724: '"lib"' has no exported member named 'getMeaningOfLife'. Did you mean 'getMeaningOfLife3'? -ts-loader-default_ad9bee6dd825c8a5 +ts-loader-default_16c1704dade3bd5f webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch2/output.txt index cef20e326..364a9dd4b 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch2/output.txt @@ -6,14 +6,14 @@ ERROR in lib/index.ts ./lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 @ ./app.ts 3:12-28 ERROR in lib/index.ts ./lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_d959ab86f3fcf84f +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.2/patch4/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch4/output.txt index 6cfd8f054..155dd19f1 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-4.2/patch4/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_d959ab86f3fcf84f +ts-loader-default_b7d520153c6e6cf9 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.2/patch2/output.txt index 5fde20447..58b36e93c 100644 --- a/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch/expectedOutput-transpile-4.2/patch2/output.txt @@ -5,11 +5,11 @@ assets by status 2.71 KiB [cached] 1 asset ERROR in ./app.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 ERROR in ./app.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_28ca491bfec2827f +ts-loader-default_8f3b13c212135902 webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch2/output.txt index d3b7742c0..0cd4a33cb 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch2/output.txt @@ -7,14 +7,14 @@ ERROR in lib/index.ts ./lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_ad9bee6dd825c8a5 +ts-loader-default_16c1704dade3bd5f @ ./app.ts 3:12-28 ERROR in lib/index.ts ./lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_ad9bee6dd825c8a5 +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.2/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch4/output.txt index ed93d60b2..8db61295f 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-4.2/patch4/output.txt @@ -8,6 +8,6 @@ ERROR in app.ts ./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_ad9bee6dd825c8a5 +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-transpile-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt index 6b1734d77..1027dacb1 100644 --- a/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_Composite_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt @@ -5,11 +5,11 @@ assets by status 2.71 KiB [cached] 1 asset ERROR in ./app.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e ERROR in ./app.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch2/output.txt index 8a10027d2..960120ce4 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch2/output.txt @@ -6,14 +6,14 @@ ERROR in lib/index.ts ./lib/index.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_ad9bee6dd825c8a5 +ts-loader-default_16c1704dade3bd5f @ ./app.ts 3:12-28 ERROR in lib/index.ts ./lib/index.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_ad9bee6dd825c8a5 +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.2/patch4/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch4/output.txt index 074741f57..7eeb11e02 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch4/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-4.2/patch4/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:55-60 [tsl] ERROR in app.ts(3,56)  TS2551: Property 'ffive' does not exist on type '{ one: number; two: number; three: number; four: number; five: number; }'. Did you mean 'five'? -ts-loader-default_ad9bee6dd825c8a5 +ts-loader-default_16c1704dade3bd5f webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt index 6b1734d77..1027dacb1 100644 --- a/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt +++ b/test/comparison-tests/projectReferencesWatch_WatchApi/expectedOutput-transpile-4.2/patch2/output.txt @@ -5,11 +5,11 @@ assets by status 2.71 KiB [cached] 1 asset ERROR in ./app.ts 6:2-3 [tsl] ERROR in lib/index.ts(6,3)  TS1136: Property assignment expected. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e ERROR in ./app.ts 7:0-1 [tsl] ERROR in lib/index.ts(7,1)  TS1128: Declaration or statement expected. -ts-loader-default_9159152f7379ff4d +ts-loader-default_d3199d8b31480e4e webpack compiled with 2 errors \ No newline at end of file diff --git a/test/comparison-tests/reportFiles/expectedOutput-4.2/output.txt b/test/comparison-tests/reportFiles/expectedOutput-4.2/output.txt index 60043b4cc..ad78f6222 100644 --- a/test/comparison-tests/reportFiles/expectedOutput-4.2/output.txt +++ b/test/comparison-tests/reportFiles/expectedOutput-4.2/output.txt @@ -6,6 +6,6 @@ ERROR in app.ts ./app.ts 3:0-1 [tsl] ERROR in app.ts(3,1)  TS2322: Type 'string' is not assignable to type 'number'. -ts-loader-default_ba0f0b8d25b8375c +ts-loader-default_caeb77cc684552b3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/simpleDependency/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/simpleDependency/expectedOutput-4.2/patch0/output.txt index 99e5f130c..3cd46efb6 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/simpleDependency/expectedOutput-4.2/patch0/output.txt @@ -7,6 +7,6 @@ ERROR in app.ts ./app.ts 3:4-6 [tsl] ERROR in app.ts(3,5)  TS2345: Argument of type 'string' is not assignable to parameter of type 'number'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-4.2/patch0/output.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-4.2/patch0/output.txt index 134a50140..5c363120e 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-4.2/patch0/output.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-4.2/patch0/output.txt @@ -5,6 +5,6 @@ ERROR in app.ts ./app.ts 11:4-5 [tsl] ERROR in app.ts(11,5)  TS2741: Property 'b' is missing in type 'AType' but required in type 'BType'. -ts-loader-default_b02295d909a3e7cf +ts-loader-default_609318b4f68865d3 webpack compiled with 1 error \ No newline at end of file