-
-
Notifications
You must be signed in to change notification settings - Fork 433
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get output from solutionBuilder for referenced files in transpileOnly…
… mode as well
- Loading branch information
1 parent
bf49856
commit 0561a9f
Showing
79 changed files
with
493 additions
and
162 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 20 additions & 5 deletions
25
test/comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,28 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 5.35 KiB main [emitted] main | ||
bundle.js 5.57 KiB main [emitted] main | ||
Entrypoint main = bundle.js | ||
[./app.ts] 218 bytes {main} [built] [2 errors] | ||
[./common/index.ts] 139 bytes {main} [built] | ||
[./lib/index.ts] 133 bytes {main} [built] | ||
[./utils/index.ts] 181 bytes {main} [built] | ||
[./lib/index.ts] 493 bytes {main} [built] [failed] [1 error] | ||
[./utils/index.ts] 495 bytes {main} [built] [failed] [1 error] | ||
|
||
ERROR in [90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mindirectWithError\fileWithError.ts(2,5)[39m[22m | ||
[1m[31m TS2322: Type 'false' is not assignable to type 'string'.[39m[22m | ||
|
||
ERROR in [90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mlib\fileWithError.ts(2,5)[39m[22m | ||
[1m[31m TS2322: Type 'false' is not assignable to type 'string'.[39m[22m | ||
[1m[31m TS2322: Type 'false' 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:87:18) | ||
at successLoader (dist\index.js:73:9) | ||
at Object.loader (dist\index.js:24: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:87:18) | ||
at successLoader (dist\index.js:73:9) | ||
at Object.loader (dist\index.js:24:5) | ||
@ ./app.ts 4:14-32 |
124 changes: 124 additions & 0 deletions
124
.../comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/patch0/bundle.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,124 @@ | ||
/******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ __webpack_require__.d = function(exports, name, getter) { | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
/******/ }; | ||
/******/ | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ __webpack_require__.n = function(module) { | ||
/******/ var getter = module && module.__esModule ? | ||
/******/ function getDefault() { return module['default']; } : | ||
/******/ function getModuleExports() { return module; }; | ||
/******/ __webpack_require__.d(getter, 'a', getter); | ||
/******/ return getter; | ||
/******/ }; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
/******/ | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
|
||
/***/ "./app.ts": | ||
/*!****************!*\ | ||
!*** ./app.ts ***! | ||
\****************/ | ||
/*! no static exports found */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
|
||
"use strict"; | ||
eval("\nObject.defineProperty(exports, \"__esModule\", { value: true });\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);\nutils_1.utils();\n\n\n//# sourceURL=webpack:///./app.ts?"); | ||
|
||
/***/ }), | ||
|
||
/***/ "./lib/index.ts": | ||
/*!**********************!*\ | ||
!*** ./lib/index.ts ***! | ||
\**********************/ | ||
/*! no static exports found */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
|
||
"use strict"; | ||
eval("\r\nexports.__esModule = true;\r\nexports.lib = {\r\n one: 1,\r\n two: 2,\r\n three: 3\r\n};\r\n\n\n//# sourceURL=webpack:///./lib/index.ts?"); | ||
|
||
/***/ }), | ||
|
||
/***/ "./utils/index.ts": | ||
/*!************************!*\ | ||
!*** ./utils/index.ts ***! | ||
\************************/ | ||
/*! no static exports found */ | ||
/***/ (function(module, exports) { | ||
|
||
eval("throw new Error(\"Module build failed (from c:/github/ts-loader/index.js):/nError: TypeScript emitted no output for c://github//ts-loader//.test//projectReferencesMultiple.transpile//utils//index.ts. The most common cause for this is having errors when building referenced projects./n at makeSourceMapAndFinish (c://github//ts-loader//dist//index.js:87:18)/n at successLoader (c://github//ts-loader//dist//index.js:73:9)/n at Object.loader (c://github//ts-loader//dist//index.js:24:5)\");\n\n//# sourceURL=webpack:///./utils/index.ts?"); | ||
|
||
/***/ }) | ||
|
||
/******/ }); |
19 changes: 13 additions & 6 deletions
19
...comparison-tests/projectReferencesMultiple/expectedOutput-transpile-3.8/patch0/output.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 5.35 KiB main main | ||
Asset Size Chunks Chunk Names | ||
bundle.js 5.19 KiB main [emitted] main | ||
Entrypoint main = bundle.js | ||
[./app.ts] 218 bytes {main} [built] [1 error] | ||
[./common/index.ts] 139 bytes {main} | ||
[./lib/index.ts] 133 bytes {main} | ||
[./utils/index.ts] 181 bytes {main} | ||
[./lib/index.ts] 104 bytes {main} [built] | ||
[./utils/index.ts] 495 bytes {main} [built] [failed] [1 error] | ||
|
||
ERROR in [90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mindirectWithError\fileWithError.ts(2,5)[39m[22m | ||
[1m[31m TS2322: Type 'false' is not assignable to type 'string'.[39m[22m | ||
[1m[31m TS2322: Type 'false' is not assignable to type 'string'.[39m[22m | ||
|
||
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:87:18) | ||
at successLoader (dist\index.js:73:9) | ||
at Object.loader (dist\index.js:24:5) | ||
@ ./app.ts 4:14-32 |
Oops, something went wrong.