forked from TypeStrong/ts-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: watch-run * Update package.json Bump minimum node version to 10 Co-authored-by: John Reilly <johnny_reilly@hotmail.com>
- Loading branch information
1 parent
a31b712
commit a81f242
Showing
35 changed files
with
222 additions
and
124 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
101 changes: 101 additions & 0 deletions
101
test/comparison-tests/importsWatch/expectedOutput-3.8/patch1/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,101 @@ | ||
/******/ (function(modules) { // webpackBootstrap | ||
/******/ // The module cache | ||
/******/ var installedModules = {}; | ||
/******/ | ||
/******/ // The require function | ||
/******/ function __webpack_require__(moduleId) { | ||
/******/ | ||
/******/ // Check if module is in cache | ||
/******/ if(installedModules[moduleId]) { | ||
/******/ return installedModules[moduleId].exports; | ||
/******/ } | ||
/******/ // Create a new module (and put it into the cache) | ||
/******/ var module = installedModules[moduleId] = { | ||
/******/ i: moduleId, | ||
/******/ l: false, | ||
/******/ exports: {} | ||
/******/ }; | ||
/******/ | ||
/******/ // Execute the module function | ||
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__); | ||
/******/ | ||
/******/ // Flag the module as loaded | ||
/******/ module.l = true; | ||
/******/ | ||
/******/ // Return the exports of the module | ||
/******/ return module.exports; | ||
/******/ } | ||
/******/ | ||
/******/ | ||
/******/ // expose the modules object (__webpack_modules__) | ||
/******/ __webpack_require__.m = modules; | ||
/******/ | ||
/******/ // expose the module cache | ||
/******/ __webpack_require__.c = installedModules; | ||
/******/ | ||
/******/ // define getter function for harmony exports | ||
/******/ __webpack_require__.d = function(exports, name, getter) { | ||
/******/ if(!__webpack_require__.o(exports, name)) { | ||
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter }); | ||
/******/ } | ||
/******/ }; | ||
/******/ | ||
/******/ // define __esModule on exports | ||
/******/ __webpack_require__.r = function(exports) { | ||
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { | ||
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); | ||
/******/ } | ||
/******/ Object.defineProperty(exports, '__esModule', { value: true }); | ||
/******/ }; | ||
/******/ | ||
/******/ // create a fake namespace object | ||
/******/ // mode & 1: value is a module id, require it | ||
/******/ // mode & 2: merge all properties of value into the ns | ||
/******/ // mode & 4: return value when already ns object | ||
/******/ // mode & 8|1: behave like require | ||
/******/ __webpack_require__.t = function(value, mode) { | ||
/******/ if(mode & 1) value = __webpack_require__(value); | ||
/******/ if(mode & 8) return value; | ||
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value; | ||
/******/ var ns = Object.create(null); | ||
/******/ __webpack_require__.r(ns); | ||
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value }); | ||
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key)); | ||
/******/ return ns; | ||
/******/ }; | ||
/******/ | ||
/******/ // getDefaultExport function for compatibility with non-harmony modules | ||
/******/ __webpack_require__.n = function(module) { | ||
/******/ var getter = module && module.__esModule ? | ||
/******/ function getDefault() { return module['default']; } : | ||
/******/ function getModuleExports() { return module; }; | ||
/******/ __webpack_require__.d(getter, 'a', getter); | ||
/******/ return getter; | ||
/******/ }; | ||
/******/ | ||
/******/ // Object.prototype.hasOwnProperty.call | ||
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); }; | ||
/******/ | ||
/******/ // __webpack_public_path__ | ||
/******/ __webpack_require__.p = ""; | ||
/******/ | ||
/******/ | ||
/******/ // Load entry module and return exports | ||
/******/ return __webpack_require__(__webpack_require__.s = "./app.ts"); | ||
/******/ }) | ||
/************************************************************************/ | ||
/******/ ({ | ||
|
||
/***/ "./app.ts": | ||
/*!****************!*\ | ||
!*** ./app.ts ***! | ||
\****************/ | ||
/*! no static exports found */ | ||
/***/ (function(module, exports, __webpack_require__) { | ||
|
||
"use strict"; | ||
eval("\nexports.__esModule = true;\nvar foo;\nfoo.bar = 'foobar';\n\n\n//# sourceURL=webpack:///./app.ts?"); | ||
|
||
/***/ }) | ||
|
||
/******/ }); |
9 changes: 9 additions & 0 deletions
9
test/comparison-tests/importsWatch/expectedOutput-3.8/patch1/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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 3.83 KiB main [emitted] main | ||
Entrypoint main = bundle.js | ||
[./app.ts] 70 bytes {main} [built] [1 error] | ||
|
||
ERROR in app.ts | ||
./app.ts | ||
[90m[tsl] [39m[1m[31mERROR[39m[22m[1m[31m in [39m[22m[1m[36mapp.ts(4,1)[39m[22m | ||
[1m[31m TS2322: Type '"foobar"' is not assignable to type 'boolean'.[39m[22m |
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
13 changes: 6 additions & 7 deletions
13
...sWatchRefWithTwoFilesAlreadyBuilt_Composite_WatchApi/expectedOutput-3.8/patch2/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,8 +1,7 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.95 KiB main [emitted] main | ||
../app.d.ts 11 bytes [emitted] | ||
../tsconfig.tsbuildinfo 52.2 KiB [emitted] | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.8 KiB main [emitted] main | ||
../app.d.ts 11 bytes [emitted] | ||
Entrypoint main = bundle.js | ||
[./app.ts] 215 bytes {main} [built] | ||
[./lib/helper.ts] 121 bytes {main} | ||
[./lib/index.ts] 211 bytes {main} | ||
[./app.ts] 131 bytes {main} [built] | ||
[./lib/helper.ts] 113 bytes {main} | ||
[./lib/index.ts] 202 bytes {main} |
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
14 changes: 7 additions & 7 deletions
14
...ts/projectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-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,15 +1,15 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.8 KiB main [emitted] main | ||
bundle.js 4.77 KiB main [emitted] main | ||
../app.d.ts 11 bytes [emitted] | ||
../tsconfig.tsbuildinfo 51.8 KiB [emitted] | ||
../lib/helper.js.map 189 bytes [emitted] | ||
../lib/helper.js 141 bytes [emitted] | ||
../lib/helper.d.ts 92 bytes [emitted] | ||
../lib/helper.js 134 bytes [emitted] | ||
../lib/helper.d.ts 87 bytes [emitted] | ||
../lib/index.js.map 231 bytes [emitted] | ||
../lib/index.js 230 bytes [emitted] | ||
../lib/index.d.ts 89 bytes [emitted] | ||
../lib/index.js 222 bytes [emitted] | ||
../lib/index.d.ts 84 bytes [emitted] | ||
../lib/tsconfig.tsbuildinfo 67.8 KiB [emitted] | ||
Entrypoint main = bundle.js | ||
[./app.ts] 131 bytes {main} [built] | ||
[./lib/helper.ts] 107 bytes {main} [built] | ||
[./lib/index.ts] 197 bytes {main} [built] | ||
[./lib/helper.ts] 100 bytes {main} [built] | ||
[./lib/index.ts] 189 bytes {main} [built] |
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
14 changes: 7 additions & 7 deletions
14
...ectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-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,14 +1,14 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.82 KiB main [emitted] main | ||
bundle.js 4.79 KiB main [emitted] main | ||
../app.d.ts 11 bytes [emitted] | ||
../lib/helper.js.map 209 bytes [emitted] | ||
../lib/helper.js 155 bytes [emitted] | ||
../lib/helper.d.ts 111 bytes [emitted] | ||
../lib/helper.js 147 bytes [emitted] | ||
../lib/helper.d.ts 105 bytes [emitted] | ||
../lib/index.js.map 231 bytes [emitted] | ||
../lib/index.js 230 bytes [emitted] | ||
../lib/index.d.ts 89 bytes [emitted] | ||
../lib/index.js 222 bytes [emitted] | ||
../lib/index.d.ts 84 bytes [emitted] | ||
../lib/tsconfig.tsbuildinfo 67.8 KiB [emitted] | ||
Entrypoint main = bundle.js | ||
[./app.ts] 131 bytes {main} [built] | ||
[./lib/helper.ts] 121 bytes {main} [built] | ||
[./lib/index.ts] 197 bytes {main} [built] | ||
[./lib/helper.ts] 113 bytes {main} [built] | ||
[./lib/index.ts] 189 bytes {main} [built] |
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
13 changes: 6 additions & 7 deletions
13
...ectReferencesWatchRefWithTwoFiles_Composite_WatchApi/expectedOutput-3.8/patch1/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,8 +1,7 @@ | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.94 KiB main [emitted] main | ||
../app.d.ts 11 bytes [emitted] | ||
../tsconfig.tsbuildinfo 52.2 KiB [emitted] | ||
Asset Size Chunks Chunk Names | ||
bundle.js 4.79 KiB main [emitted] main | ||
../app.d.ts 11 bytes [emitted] | ||
Entrypoint main = bundle.js | ||
[./app.ts] 215 bytes {main} [built] | ||
[./lib/helper.ts] 121 bytes {main} | ||
[./lib/index.ts] 197 bytes {main} | ||
[./app.ts] 131 bytes {main} [built] | ||
[./lib/helper.ts] 113 bytes {main} | ||
[./lib/index.ts] 189 bytes {main} |
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
Oops, something went wrong.