From c5aabb3e155047bfac9e856c183de97818d661a9 Mon Sep 17 00:00:00 2001 From: John Reilly Date: Sat, 15 Apr 2017 22:17:51 +0100 Subject: [PATCH] fix tests due to webpack change (#523) --- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/patch0/bundle.js | 4 ++-- .../patch0/output.transpiled.txt | 2 +- .../expectedOutput-2.2/patch0/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../expectedOutput-2.2/output.txt | 2 +- .../appendSuffixTo/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.entry1.js | 4 ++-- .../expectedOutput-2.2/bundle.entry2.js | 4 ++-- .../expectedOutput-2.2/output.txt | 4 ++-- .../expectedOutput-2.2/patch0/bundle.entry1.js | 4 ++-- .../expectedOutput-2.2/patch0/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../babel-issue81/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.js.map | 2 +- .../babel-issue81/expectedOutput-2.2/output.txt | 2 +- .../babel-issue92/expectedOutput-2.2/bundle.js | 4 ++-- .../babel-issue92/expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.txt | 2 +- .../basic/expectedOutput-2.2/bundle.js | 4 ++-- .../basic/expectedOutput-2.2/patch0/bundle.js | 4 ++-- .../basic/expectedOutput-2.2/patch1/bundle.js | 4 ++-- .../codeSplitting/expectedOutput-2.2/bundle.js | 17 +++++++++++------ .../codeSplitting/expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.txt | 4 ++-- .../expectedOutput-2.2/patch1/bundle.js | 4 ++-- .../expectedOutput-2.2/patch1/output.txt | 4 ++-- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 4 ++-- .../expectedOutput-2.2/output.txt | 4 ++-- .../expectedOutput-2.2/patch0/bundle.js | 4 ++-- .../patch0/output.transpiled.txt | 4 ++-- .../expectedOutput-2.2/patch0/output.txt | 4 ++-- .../errors/expectedOutput-2.2/bundle.js | 6 +++--- .../expectedOutput-2.2/bundle.transpiled.js | 6 +++--- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../errors/expectedOutput-2.2/output.txt | 2 +- .../es3/expectedOutput-2.2/bundle.js | 4 ++-- .../es3/expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../es5/expectedOutput-2.2/bundle.js | 4 ++-- .../es5/expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../es6/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.js | 17 +++++++++++------ .../expectedOutput-2.2/output.txt | 2 +- .../es6withCJS/expectedOutput-2.2/bundle.js | 4 ++-- .../es6withCJS/expectedOutput-2.2/output.txt | 2 +- .../externals/expectedOutput-2.2/bundle.js | 4 ++-- .../externals/expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../importsWatch/expectedOutput-2.2/bundle.js | 4 ++-- .../importsWatch/expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/patch1/bundle.js | 4 ++-- .../expectedOutput-2.2/patch1/output.txt | 2 +- .../instance/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../instance/expectedOutput-2.2/output.txt | 4 ++-- .../issue372/expectedOutput-2.2/bundle.js | 4 ++-- .../issue372/expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/patch0/bundle.js | 4 ++-- .../expectedOutput-2.2/patch0/output.txt | 2 +- .../issue441/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/patch1/bundle.js | 4 ++-- .../issue71/expectedOutput-2.2/bundle.js | 4 ++-- .../jsx/expectedOutput-2.2/bundle.js | 4 ++-- .../jsx/expectedOutput-2.2/output.txt | 2 +- .../large/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../node/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../expectedOutput-2.2/bundle.js | 6 +++--- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 4 ++-- .../nodeResolution/expectedOutput-2.2/bundle.js | 4 ++-- .../nolib/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../npmLink/expectedOutput-2.2/bundle.js | 4 ++-- .../replacement/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/patch0/bundle.js | 4 ++-- .../expectedOutput-2.2/patch1/bundle.js | 4 ++-- .../sourceMaps/expectedOutput-2.2/bundle.js | 4 ++-- .../sourceMaps/expectedOutput-2.2/bundle.js.map | 2 +- .../expectedOutput-2.2/bundle.js.transpiled.map | 2 +- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 4 ++-- .../sourceMaps/expectedOutput-2.2/output.txt | 4 ++-- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 4 ++-- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.txt | 2 +- .../tsconfigSearch/expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.txt | 2 +- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/bundle.transpiled.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 4 ++-- .../expectedOutput-2.2/patch0/bundle.js | 4 ++-- .../patch0/bundle.transpiled.js | 4 ++-- .../patch0/output.transpiled.txt | 4 ++-- .../expectedOutput-2.2/patch1/bundle.js | 4 ++-- .../patch1/bundle.transpiled.js | 4 ++-- .../patch1/output.transpiled.txt | 4 ++-- .../expectedOutput-2.2/bundle.js | 4 ++-- .../expectedOutput-2.2/output.transpiled.txt | 2 +- .../expectedOutput-2.2/output.txt | 2 +- 128 files changed, 239 insertions(+), 229 deletions(-) diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js index 5d40c725b..a05d34c12 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/aliasResolution/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt index f16c320fd..9c5dc822a 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main +bundle.js 2.89 kB 0 [emitted] main chunk {0} bundle.js (main) 166 bytes [entry] [rendered] [0] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] [1] ./.test/aliasResolution/app.ts 120 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.txt index edb7e5fcc..07d58e731 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main +bundle.js 2.89 kB 0 [emitted] main chunk {0} bundle.js (main) 166 bytes [entry] [rendered] [0] ./.test/aliasResolution/common/components/myComponent.ts 46 bytes {0} [built] [1] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error] diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js index 34f8354f4..e921480ed 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js +++ b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.transpiled.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.transpiled.txt index e02a00afd..73eaabfdb 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.transpiled.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main +bundle.js 2.89 kB 0 [emitted] main chunk {0} bundle.js (main) 165 bytes [entry] [rendered] [0] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] [1] ./.test/aliasResolution/app.ts 120 bytes {0} \ No newline at end of file diff --git a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.txt index e2c763ad4..6c26aae1b 100644 --- a/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.txt +++ b/test/comparison-tests/aliasResolution/expectedOutput-2.2/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main +bundle.js 2.89 kB 0 [emitted] main chunk {0} bundle.js (main) 165 bytes [entry] [rendered] [0] ./.test/aliasResolution/common/components/myComponent.ts 45 bytes {0} [built] [1] ./.test/aliasResolution/app.ts 120 bytes {0} [built] [1 error] diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js index 401fcfd02..26a4fc3b1 100644 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.transpiled.js index b8dadecfa..36a8968c7 100644 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.transpiled.txt index f8d7dbbd7..91a83cd7d 100644 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main +bundle.js 2.76 kB 0 [emitted] main chunk {0} bundle.js (main) 101 bytes [entry] [rendered] [0] ./.test/allowJs-entryFileIsJs/src/index.js 101 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.txt b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.txt index 433e30b44..27edeea1f 100644 --- a/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/allowJs-entryFileIsJs/expectedOutput-2.2/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.65 kB 0 [emitted] main +bundle.js 2.66 kB 0 [emitted] main chunk {0} bundle.js (main) 24 bytes [entry] [rendered] [0] ./.test/allowJs-entryFileIsJs/src/index.js 24 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/bundle.js b/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/bundle.js index 1e460d20a..e50b20a98 100644 --- a/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/appendSuffixTo/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js index f93dd703c..fb0d501e5 100644 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry1.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js index f0d2d2474..fb98261e1 100644 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/bundle.entry2.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt index bfc85e0b5..59c6bde52 100644 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/output.txt @@ -1,6 +1,6 @@ Asset Size Chunks Chunk Names -bundle.entry2.js 2.94 kB 0 [emitted] entry2 -bundle.entry1.js 2.66 kB 1 [emitted] entry1 +bundle.entry2.js 2.95 kB 0 [emitted] entry2 +bundle.entry1.js 2.67 kB 1 [emitted] entry1 chunk {0} bundle.entry2.js (entry2) 208 bytes [entry] [rendered] [0] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} [built] [2] ./.test/appendSuffixToWatch/entry2.ts 132 bytes {0} [built] diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/bundle.entry1.js b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/bundle.entry1.js index 4c2f72a11..3e6057de6 100644 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/bundle.entry1.js +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/bundle.entry1.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt index 3d1627ff2..6670bacbe 100644 --- a/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt +++ b/test/comparison-tests/appendSuffixToWatch/expectedOutput-2.2/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.entry2.js 2.94 kB 0 entry2 +bundle.entry2.js 2.95 kB 0 entry2 bundle.entry1.js 2.67 kB 1 [emitted] entry1 chunk {0} bundle.entry2.js (entry2) 208 bytes [entry] [0] ./.test/appendSuffixToWatch/component.vue 76 bytes {0} diff --git a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js index 0d7d108b8..25e164c9c 100644 --- a/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/babel-es6resolveParent/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js index a67c5edd1..eeb32f54d 100644 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js.map b/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js.map index 45b38d4ee..723f3c648 100644 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js.map +++ b/test/comparison-tests/babel-issue81/expectedOutput-2.2/bundle.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;AC/DA,aAAwB;AACd,WACV;AAAC;AAGD;AAEC;;AAFQ,kBADL,MAGH,K","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap [hash]","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}\n\n\n// WEBPACK FOOTER //\n// ./a.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;;;;AC/DA,aAAwB;AACd,WACV;AAAC;AAGD;AAEC;;AAFQ,kBADL,MAGH,K","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap [hash]","\nfunction bar(target: any) {\n return target;\n}\n\n@bar\nclass Foo {\n \n}\n\n\n// WEBPACK FOOTER //\n// ./a.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/babel-issue81/expectedOutput-2.2/output.txt b/test/comparison-tests/babel-issue81/expectedOutput-2.2/output.txt index e795d8b8f..e1dee25b0 100644 --- a/test/comparison-tests/babel-issue81/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/babel-issue81/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names bundle.js 3.87 kB 0 [emitted] main -bundle.js.map 2.83 kB 0 [emitted] main +bundle.js.map 2.84 kB 0 [emitted] main chunk {0} bundle.js, bundle.js.map (main) 1.2 kB [entry] [rendered] [0] ./.test/babel-issue81/a.ts 1.2 kB {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js index f0e3e4ab0..b1da4aa07 100644 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/babel-issue92/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt b/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt index 899e559f5..0710b1310 100644 --- a/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/babel-issue92/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 3.17 kB 0 [emitted] main +bundle.js 3.18 kB 0 [emitted] main chunk {0} bundle.js (main) 110 bytes [entry] [rendered] [0] ./.test/babel-issue92/submodule/submodule.tsx 38 bytes {0} [built] [1] ./.test/babel-issue92/app.ts 72 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/bundle.js b/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/bundle.js index 777bcfd61..63d8afde9 100644 --- a/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/output.txt b/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/output.txt index b9a019a1f..518f6f02d 100644 --- a/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/babel-jsxPreserve/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 3.81 kB 0 [emitted] main +bundle.js 3.82 kB 0 [emitted] main chunk {0} bundle.js (main) 1.12 kB [entry] [rendered] [0] external "react" 42 bytes {0} [not cacheable] [1] ./.test/babel-jsxPreserve/app.tsx 1.07 kB {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/basic/expectedOutput-2.2/bundle.js b/test/comparison-tests/basic/expectedOutput-2.2/bundle.js index a2e1f21cf..eb5a9ebf9 100644 --- a/test/comparison-tests/basic/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/basic/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js index da816d290..255f8fa5b 100644 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js +++ b/test/comparison-tests/basic/expectedOutput-2.2/patch0/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js index a2e1f21cf..eb5a9ebf9 100644 --- a/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js +++ b/test/comparison-tests/basic/expectedOutput-2.2/patch1/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js b/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js index 87b5b61db..7c4ad8f3c 100644 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/codeSplitting/expectedOutput-2.2/bundle.js @@ -7,8 +7,9 @@ /******/ var moduleId, chunkId, i = 0, resolves = [], result; /******/ for(;i < chunkIds.length; i++) { /******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) +/******/ if(installedChunks[chunkId]) { /******/ resolves.push(installedChunks[chunkId][0]); +/******/ } /******/ installedChunks[chunkId] = 0; /******/ } /******/ for(moduleId in moreModules) { @@ -17,8 +18,9 @@ /******/ } /******/ } /******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) +/******/ while(resolves.length) { /******/ resolves.shift()(); +/******/ } /******/ /******/ }; /******/ @@ -34,9 +36,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, @@ -57,8 +59,9 @@ /******/ // This file contains only the entry chunk. /******/ // The chunk loading function for additional chunks /******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ if(installedChunks[chunkId] === 0) +/******/ if(installedChunks[chunkId] === 0) { /******/ return Promise.resolve(); +/******/ } /******/ /******/ // a Promise means "currently loading". /******/ if(installedChunks[chunkId]) { @@ -91,7 +94,9 @@ /******/ clearTimeout(timeout); /******/ var chunk = installedChunks[chunkId]; /******/ if(chunk !== 0) { -/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); +/******/ if(chunk) { +/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); +/******/ } /******/ installedChunks[chunkId] = undefined; /******/ } /******/ }; diff --git a/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt b/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt index 76b36a85e..6e881db0a 100644 --- a/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/codeSplitting/expectedOutput-2.2/output.txt @@ -1,6 +1,6 @@ Asset Size Chunks Chunk Names 0.bundle.js 249 bytes 0 [emitted] - bundle.js 6.72 kB 1 [emitted] main + bundle.js 6.8 kB 1 [emitted] main chunk {0} 0.bundle.js 72 bytes {1} [rendered] [0] ./.test/codeSplitting/c.ts 36 bytes {0} [built] [1] ./.test/codeSplitting/d.ts 36 bytes {0} [built] diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js b/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js index 82201f613..3baa3e58e 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js index 52e5e6f64..23796772a 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/declarationDeps/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt index e9b85d434..e19692e5f 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.73 kB 0 [emitted] main +bundle.js 2.74 kB 0 [emitted] main chunk {0} bundle.js (main) 82 bytes [entry] [rendered] [0] ./.test/declarationDeps/app.ts 82 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.txt b/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.txt index 45aac4d27..bf1c9cc65 100644 --- a/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/declarationDeps/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.67 kB 0 [emitted] main +bundle.js 2.68 kB 0 [emitted] main chunk {0} bundle.js (main) 41 bytes [entry] [rendered] [0] ./.test/declarationDeps/app.ts 41 bytes {0} [built] [1 error] diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js b/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js index 1bcf48c19..2f4564cd5 100644 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/declarationOutput/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt b/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt index 5569d02a0..be2cbc61b 100644 --- a/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/declarationOutput/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 3.7 kB 0 [emitted] main + bundle.js 3.71 kB 0 [emitted] main app.d.ts 110 bytes [emitted] sub/dep.d.ts 63 bytes [emitted] chunk {0} bundle.js (main) 972 bytes [entry] [rendered] diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js index 38059daad..5c502dabe 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/declarationWatch/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt index 16f6f8ae2..20ef01a45 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/declarationWatch/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 2.9 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.91 kB 0 [emitted] main chunk {0} bundle.js (main) 167 bytes [entry] [rendered] [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1] ./.test/declarationWatch/app.ts 108 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/bundle.js index 38059daad..5c502dabe 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/bundle.js +++ b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt index 16f6f8ae2..20ef01a45 100644 --- a/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt +++ b/test/comparison-tests/declarationWatch/expectedOutput-2.2/patch1/output.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 2.9 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.91 kB 0 [emitted] main chunk {0} bundle.js (main) 167 bytes [entry] [rendered] [0] ./.test/declarationWatch/dep.ts 59 bytes {0} [built] [1] ./.test/declarationWatch/app.ts 108 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/bundle.js index 94dcb429e..f7b9a2058 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt index 621d3899f..0dc3f8a8f 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 3.09 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 3.1 kB 0 [emitted] main chunk {0} bundle.js (main) 273 bytes [entry] [rendered] [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt index ef72a7f99..5232a8d4b 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 3.09 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 3.1 kB 0 [emitted] main chunk {0} bundle.js (main) 273 bytes [entry] [rendered] [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} [built] diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js index 94dcb429e..f7b9a2058 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js +++ b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.transpiled.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.transpiled.txt index c60bf450d..aa1b88511 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.transpiled.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.transpiled.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 3.09 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 3.1 kB 0 [emitted] main chunk {0} bundle.js (main) 273 bytes [entry] [rendered] [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} diff --git a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt index 8f24d9416..16d0b8827 100644 --- a/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt +++ b/test/comparison-tests/dependencyErrors/expectedOutput-2.2/patch0/output.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 3.09 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 3.1 kB 0 [emitted] main chunk {0} bundle.js (main) 273 bytes [entry] [rendered] [0] ./.test/dependencyErrors/dep1.ts 76 bytes {0} [built] [1] ./.test/dependencyErrors/dep2.ts 76 bytes {0} diff --git a/test/comparison-tests/errors/expectedOutput-2.2/bundle.js b/test/comparison-tests/errors/expectedOutput-2.2/bundle.js index dd3bf163d..eb7ec43b8 100644 --- a/test/comparison-tests/errors/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/errors/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, @@ -70,7 +70,7 @@ /* 0 */ /***/ (function(module, exports) { -throw new Error("Module parse failed: C:/source/ts-loader/index.js??ref--0!/errors/app.ts Unexpected token (1:9)\nYou may need an appropriate loader to handle this file type.\n| var a = == 0;\n| "); +throw new Error("Module parse failed: C:/Source/ts-loader/index.js??ref--0!/errors/app.ts Unexpected token (1:9)\nYou may need an appropriate loader to handle this file type.\n| var a = == 0;\n| "); /***/ }) /******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/errors/expectedOutput-2.2/bundle.transpiled.js index ff7a47ac1..3e867f501 100644 --- a/test/comparison-tests/errors/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/errors/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, @@ -70,7 +70,7 @@ /* 0 */ /***/ (function(module, exports) { -throw new Error("Module parse failed: C:/source/ts-loader/index.js??ref--0!/errors.transpile/app.ts Unexpected token (3:9)\nYou may need an appropriate loader to handle this file type.\n| \"use strict\";\n| exports.__esModule = true;\n| var a = == 0;\n| "); +throw new Error("Module parse failed: C:/Source/ts-loader/index.js??ref--0!/errors.transpile/app.ts Unexpected token (3:9)\nYou may need an appropriate loader to handle this file type.\n| \"use strict\";\n| exports.__esModule = true;\n| var a = == 0;\n| "); /***/ }) /******/ ]); \ No newline at end of file diff --git a/test/comparison-tests/errors/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/errors/expectedOutput-2.2/output.transpiled.txt index 969035d2f..e23d7719d 100644 --- a/test/comparison-tests/errors/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/errors/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.92 kB 0 [emitted] main +bundle.js 2.93 kB 0 [emitted] main chunk {0} bundle.js (main) 291 bytes [entry] [rendered] [0] ./.test/errors/app.ts 291 bytes {0} [built] [failed] [2 errors] diff --git a/test/comparison-tests/errors/expectedOutput-2.2/output.txt b/test/comparison-tests/errors/expectedOutput-2.2/output.txt index 7bc8eab03..1e7582ac0 100644 --- a/test/comparison-tests/errors/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/errors/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.86 kB 0 [emitted] main +bundle.js 2.87 kB 0 [emitted] main chunk {0} bundle.js (main) 232 bytes [entry] [rendered] [0] ./.test/errors/app.ts 232 bytes {0} [built] [failed] [2 errors] diff --git a/test/comparison-tests/es3/expectedOutput-2.2/bundle.js b/test/comparison-tests/es3/expectedOutput-2.2/bundle.js index acbb9b0ec..6e83d372b 100644 --- a/test/comparison-tests/es3/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/es3/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js index d06157b4c..bc83e48b2 100644 --- a/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/es3/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt index e98041109..61056eedd 100644 --- a/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/es3/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main +bundle.js 2.73 kB 0 [emitted] main chunk {0} bundle.js (main) 70 bytes [entry] [rendered] [0] ./.test/es3/app.ts 70 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/es5/expectedOutput-2.2/bundle.js b/test/comparison-tests/es5/expectedOutput-2.2/bundle.js index 7f0b7eaa4..37b04a493 100644 --- a/test/comparison-tests/es5/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/es5/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js index 26d22f4c7..57bbf279a 100644 --- a/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/es5/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/es6/expectedOutput-2.2/bundle.js b/test/comparison-tests/es6/expectedOutput-2.2/bundle.js index 7f0b7eaa4..37b04a493 100644 --- a/test/comparison-tests/es6/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/es6/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js index a3421a19a..f0c75da20 100644 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/bundle.js @@ -7,8 +7,9 @@ /******/ var moduleId, chunkId, i = 0, resolves = [], result; /******/ for(;i < chunkIds.length; i++) { /******/ chunkId = chunkIds[i]; -/******/ if(installedChunks[chunkId]) +/******/ if(installedChunks[chunkId]) { /******/ resolves.push(installedChunks[chunkId][0]); +/******/ } /******/ installedChunks[chunkId] = 0; /******/ } /******/ for(moduleId in moreModules) { @@ -17,8 +18,9 @@ /******/ } /******/ } /******/ if(parentJsonpFunction) parentJsonpFunction(chunkIds, moreModules, executeModules); -/******/ while(resolves.length) +/******/ while(resolves.length) { /******/ resolves.shift()(); +/******/ } /******/ /******/ }; /******/ @@ -34,9 +36,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, @@ -57,8 +59,9 @@ /******/ // This file contains only the entry chunk. /******/ // The chunk loading function for additional chunks /******/ __webpack_require__.e = function requireEnsure(chunkId) { -/******/ if(installedChunks[chunkId] === 0) +/******/ if(installedChunks[chunkId] === 0) { /******/ return Promise.resolve(); +/******/ } /******/ /******/ // a Promise means "currently loading". /******/ if(installedChunks[chunkId]) { @@ -91,7 +94,9 @@ /******/ clearTimeout(timeout); /******/ var chunk = installedChunks[chunkId]; /******/ if(chunk !== 0) { -/******/ if(chunk) chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); +/******/ if(chunk) { +/******/ chunk[1](new Error('Loading chunk ' + chunkId + ' failed.')); +/******/ } /******/ installedChunks[chunkId] = undefined; /******/ } /******/ }; diff --git a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt index fac25789d..56a94447b 100644 --- a/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/es6codeSplitting/expectedOutput-2.2/output.txt @@ -1,6 +1,6 @@ Asset Size Chunks Chunk Names 0.bundle.js 377 bytes 0 [emitted] - bundle.js 7.28 kB 1 [emitted] main + bundle.js 7.36 kB 1 [emitted] main chunk {0} 0.bundle.js 200 bytes {1} [rendered] [0] ./.test/es6codeSplitting/c.ts 100 bytes {0} [built] [1] ./.test/es6codeSplitting/d.ts 100 bytes {0} [built] diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js b/test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js index 07a6f44dd..f167e9c47 100644 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/es6withCJS/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt b/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt index 17e448a74..8124226d3 100644 --- a/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/es6withCJS/expectedOutput-2.2/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main +bundle.js 2.76 kB 0 [emitted] main chunk {0} bundle.js (main) 100 bytes [entry] [rendered] [0] ./.test/es6withCJS/app.ts 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/externals/expectedOutput-2.2/bundle.js b/test/comparison-tests/externals/expectedOutput-2.2/bundle.js index 32c39864b..aba7da368 100644 --- a/test/comparison-tests/externals/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/externals/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/externals/expectedOutput-2.2/output.txt b/test/comparison-tests/externals/expectedOutput-2.2/output.txt index 7080a8911..f9baa0aca 100644 --- a/test/comparison-tests/externals/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/externals/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.84 kB 0 [emitted] main +bundle.js 2.85 kB 0 [emitted] main chunk {0} bundle.js (main) 148 bytes [entry] [rendered] [0] external "hello" 42 bytes {0} [not cacheable] [1] ./.test/externals/app.ts 106 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.js index 0f0d60fab..cbe28689d 100644 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.transpiled.js index ed9f9016c..7bcfc6650 100644 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.transpiled.txt index b9ee48d21..12c96eaa8 100644 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 2.71 kB 0 [emitted] main + bundle.js 2.72 kB 0 [emitted] main index.html 182 bytes [emitted] chunk {0} bundle.js (main) 63 bytes [entry] [rendered] [0] ./.test/html-webpack-plugin/app.ts 63 bytes {0} [built] diff --git a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.txt b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.txt index 496ee356a..c370cd31c 100644 --- a/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/html-webpack-plugin/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 2.65 kB 0 [emitted] main + bundle.js 2.66 kB 0 [emitted] main index.html 182 bytes [emitted] chunk {0} bundle.js (main) 22 bytes [entry] [rendered] [0] ./.test/html-webpack-plugin/app.ts 22 bytes {0} [built] diff --git a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js index da89892e5..13f17bc35 100644 --- a/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/ignoreDiagnostics/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js index 1d07697e0..4ea8038b2 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/importsWatch/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt index b00da845b..a7ee2314d 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/importsWatch/expectedOutput-2.2/output.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main +bundle.js 2.73 kB 0 [emitted] main chunk {0} bundle.js (main) 70 bytes [entry] [rendered] [0] ./.test/importsWatch/app.ts 70 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/bundle.js index 1d07697e0..4ea8038b2 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/bundle.js +++ b/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt b/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt index ce6d2b71d..ea46a8876 100644 --- a/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt +++ b/test/comparison-tests/importsWatch/expectedOutput-2.2/patch1/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main +bundle.js 2.73 kB 0 [emitted] main chunk {0} bundle.js (main) 70 bytes [entry] [rendered] [0] ./.test/importsWatch/app.ts 70 bytes {0} [built] [1 error] diff --git a/test/comparison-tests/instance/expectedOutput-2.2/bundle.js b/test/comparison-tests/instance/expectedOutput-2.2/bundle.js index ea29bf1c5..9d62274b4 100644 --- a/test/comparison-tests/instance/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/instance/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js index 47ccfc2a4..3f6dd6464 100644 --- a/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/instance/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt index 2976ef883..9360101e7 100644 --- a/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/instance/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.81 kB 0 [emitted] b +bundle.js 2.82 kB 0 [emitted] b chunk {0} bundle.js (b) 177 bytes [entry] [rendered] [1] ./.test/instance/b.ts 177 bytes {0} [built] [failed] [1 error] chunk {1} (a) 177 bytes [entry] [rendered] diff --git a/test/comparison-tests/instance/expectedOutput-2.2/output.txt b/test/comparison-tests/instance/expectedOutput-2.2/output.txt index f5ee41694..3ba7aa86f 100644 --- a/test/comparison-tests/instance/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/instance/expectedOutput-2.2/output.txt @@ -5,10 +5,10 @@ chunk {0} bundle.js (b) 167 bytes [entry] [rendered] chunk {1} (a) 167 bytes [entry] [rendered] [0] ./.test/instance/a.ts 167 bytes {1} [built] [failed] [1 error] -ERROR in ./.test/instance/b.ts +ERROR in ./.test/instance/a.ts Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist -ERROR in ./.test/instance/a.ts +ERROR in ./.test/instance/b.ts Module build failed: A file specified in tsconfig.json could not be found: i-dont-exist ERROR in chunk a [entry] diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js index 158543981..219bb3d6e 100644 --- a/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/issue372/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/output.txt b/test/comparison-tests/issue372/expectedOutput-2.2/output.txt index 548638723..99baa841a 100644 --- a/test/comparison-tests/issue372/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/issue372/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 3.02 kB 0 [emitted] main +bundle.js 3.03 kB 0 [emitted] main chunk {0} bundle.js (main) 221 bytes [entry] [rendered] [0] ./.test/issue372/foo.ts 90 bytes {0} [built] [1] ./.test/issue372/app.ts 110 bytes {0} [built] diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js index 6f6714b4f..7ca292069 100644 --- a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js +++ b/test/comparison-tests/issue372/expectedOutput-2.2/patch0/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt b/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt index f0f78b340..0432828a7 100644 --- a/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt +++ b/test/comparison-tests/issue372/expectedOutput-2.2/patch0/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 3.03 kB 0 [emitted] main +bundle.js 3.04 kB 0 [emitted] main chunk {0} bundle.js (main) 228 bytes [entry] [rendered] [0] ./.test/issue372/foo.ts 90 bytes {0} [1] ./.test/issue372/app.ts 117 bytes {0} [built] diff --git a/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js index 1d07697e0..4ea8038b2 100644 --- a/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js index 1d07697e0..4ea8038b2 100644 --- a/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js +++ b/test/comparison-tests/issue441/expectedOutput-2.2/patch1/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js b/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js index fb3e89fc5..8b73514c3 100644 --- a/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/issue71/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/jsx/expectedOutput-2.2/bundle.js b/test/comparison-tests/jsx/expectedOutput-2.2/bundle.js index 76bad40c5..967b3a0e6 100644 --- a/test/comparison-tests/jsx/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/jsx/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/jsx/expectedOutput-2.2/output.txt b/test/comparison-tests/jsx/expectedOutput-2.2/output.txt index 0a91e4467..c53e84a5a 100644 --- a/test/comparison-tests/jsx/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/jsx/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 3.74 kB 0 [emitted] main +bundle.js 3.75 kB 0 [emitted] main chunk {0} bundle.js (main) 1.05 kB [entry] [rendered] [0] external "react" 42 bytes {0} [not cacheable] [1] ./.test/jsx/app.tsx 1.01 kB {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/large/expectedOutput-2.2/bundle.js b/test/comparison-tests/large/expectedOutput-2.2/bundle.js index 728055b0a..14c7e2262 100644 --- a/test/comparison-tests/large/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/large/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/bundle.transpiled.js index c6a6ee283..0593e1288 100644 --- a/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/output.transpiled.txt index 81f0f8b8c..2b11d1e9b 100644 --- a/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/noErrorsPlugin/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main +bundle.js 2.73 kB 0 [emitted] main chunk {0} bundle.js (main) 68 bytes [entry] [rendered] [0] ./.test/noErrorsPlugin/app.ts 68 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/node/expectedOutput-2.2/bundle.js b/test/comparison-tests/node/expectedOutput-2.2/bundle.js index 9ff905fbf..8a89055d9 100644 --- a/test/comparison-tests/node/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/node/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js index 06f7fe125..cedd8d6b6 100644 --- a/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/node/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt index 16214295d..652a5a5ce 100644 --- a/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/node/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ Asset Size Chunks Chunk Names -bundle.js 2.75 kB 0 [emitted] main +bundle.js 2.76 kB 0 [emitted] main chunk {0} bundle.js (main) 100 bytes [entry] [rendered] [0] ./.test/node/app.ts 100 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.js index 2a018faa6..b69d2ca33 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, @@ -70,7 +70,7 @@ /* 0 */ /***/ (function(module, exports) { -throw new Error("Module build failed: Error: Typescript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts.\nYou should not need to recompile .ts files in node_modules.\nPlease contact the package author to advise them to use --declaration --outDir.\nMore https://github.com/Microsoft/TypeScript/issues/12358\n at Object.loader (C:/source/ts-loader/dist/index.js:32:15)"); +throw new Error("Module build failed: Error: Typescript emitted no output for /nodeModulesMeaningfulErrorWhenImportingTs/node_modules/a/index.ts.\nYou should not need to recompile .ts files in node_modules.\nPlease contact the package author to advise them to use --declaration --outDir.\nMore https://github.com/Microsoft/TypeScript/issues/12358\n at Object.loader (C:/Source/ts-loader/dist/index.js:32:15)"); /***/ }), /* 1 */ diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js index a171fb44c..29cc0956b 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt index 55fc16b4d..c0914e310 100644 --- a/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/nodeModulesMeaningfulErrorWhenImportingTs/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.9 kB 0 [emitted] main chunk {0} bundle.js (main) 150 bytes [entry] [rendered] [0] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/~/a/index.ts 71 bytes {0} [built] [1] ./.test/nodeModulesMeaningfulErrorWhenImportingTs/app.ts 79 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/nodeResolution/expectedOutput-2.2/bundle.js b/test/comparison-tests/nodeResolution/expectedOutput-2.2/bundle.js index 3f83c98f1..42ab250c7 100644 --- a/test/comparison-tests/nodeResolution/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/nodeResolution/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js b/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js index ac01b5e4b..e9b687c57 100644 --- a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/nolib/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js index 8e2130099..5a22d99fd 100644 --- a/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/nolib/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js b/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js index 23bd327a8..fd3efa362 100644 --- a/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/npmLink/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js b/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js index 53caa06ba..f4e2a2198 100644 --- a/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/replacement/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js index 0a9ab8706..cf48ef34b 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/simpleDependency/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js index 0a9ab8706..cf48ef34b 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js +++ b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch0/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js index 0a9ab8706..cf48ef34b 100644 --- a/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js +++ b/test/comparison-tests/simpleDependency/expectedOutput-2.2/patch1/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js index 49765d559..09bbc64d0 100644 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map index ad544c898..e62b9bf5e 100644 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map +++ b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;AChEA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap [hash]","console.log('Hello world')\n\n\n// WEBPACK FOOTER //\n// ./a.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;AChEA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap [hash]","console.log('Hello world')\n\n\n// WEBPACK FOOTER //\n// ./a.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.transpiled.map b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.transpiled.map index 494f6ad1c..f620aa99f 100644 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.transpiled.map +++ b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.js.transpiled.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;AChEA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId])\n \t\t\treturn installedModules[moduleId].exports;\n\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap [hash]","console.log('Hello world')\n\n\n// WEBPACK FOOTER //\n// ./a.ts"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///webpack/bootstrap [hash]","webpack:///./a.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA,mDAA2C,cAAc;;AAEzD;AACA;AACA;AACA;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;AChEA,OAAO,CAAC,GAAG,CAAC,aAAa,CAAC","file":"bundle.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// identity function for calling harmony imports with the correct context\n \t__webpack_require__.i = function(value) { return value; };\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap [hash]","console.log('Hello world')\n\n\n// WEBPACK FOOTER //\n// ./a.ts"],"sourceRoot":""} \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.transpiled.js index 7b37a9f32..588cd342f 100644 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/sourceMaps/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt index b1d764514..0eed5e1fb 100644 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 2.75 kB 0 [emitted] main -bundle.js.map 2.74 kB 0 [emitted] main + bundle.js 2.76 kB 0 [emitted] main +bundle.js.map 2.75 kB 0 [emitted] main chunk {0} bundle.js, bundle.js.map (main) 69 bytes [entry] [rendered] [0] ./.test/sourceMaps/a.ts 69 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.txt b/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.txt index dc0c9b468..5dc2d0e46 100644 --- a/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/sourceMaps/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names - bundle.js 2.69 kB 0 [emitted] main -bundle.js.map 2.74 kB 0 [emitted] main + bundle.js 2.7 kB 0 [emitted] main +bundle.js.map 2.75 kB 0 [emitted] main chunk {0} bundle.js, bundle.js.map (main) 28 bytes [entry] [rendered] [0] ./.test/sourceMaps/a.ts 28 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/bundle.js b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/bundle.js index fedcea533..b3736f86f 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt index 7fa7dc051..14960c078 100644 --- a/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/tsconfigInvalid/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.72 kB 0 [emitted] main +bundle.js 2.73 kB 0 [emitted] main chunk {0} bundle.js (main) 94 bytes [entry] [rendered] [0] ./.test/tsconfigInvalid/app.ts 94 bytes {0} [built] [failed] [3 errors] diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js index e0e10b2eb..6eba2f880 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js index b40f9310d..a0b37bb1d 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt index 6d680dd39..1c2394884 100644 --- a/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/tsconfigInvalidFile/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ - Asset Size Chunks Chunk Names -bundle.js 2.69 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.7 kB 0 [emitted] main chunk {0} bundle.js (main) 41 bytes [entry] [rendered] [0] ./.test/tsconfigInvalidFile/app.ts 41 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.js index 31ae2167b..ead4850ba 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js index 298c5459f..bc487970b 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt index c22cc1ecb..6ce29af3c 100644 --- a/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/tsconfigNotReadable/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.83 kB 0 [emitted] main +bundle.js 2.84 kB 0 [emitted] main chunk {0} bundle.js (main) 206 bytes [entry] [rendered] [0] ./.test/tsconfigNotReadable/app.ts 206 bytes {0} [built] [failed] [1 error] diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js b/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js index 78e3d07c7..b8585aab0 100644 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt b/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt index e062c5b24..58c2de5e9 100644 --- a/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/tsconfigSearch/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.87 kB 0 [emitted] main +bundle.js 2.88 kB 0 [emitted] main chunk {0} bundle.js (main) 167 bytes [entry] [rendered] [0] ./.test/tsconfigSearch/lib/externalLib.js 55 bytes {0} [built] [1] ./.test/tsconfigSearch/src/app.ts 112 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.js index f3291ec5a..c31f7c4a5 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js index b5f26bdb6..459e2656f 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt index 7a067a214..9422b78c5 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/output.transpiled.txt @@ -1,4 +1,4 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.9 kB 0 [emitted] main chunk {0} bundle.js (main) 239 bytes [entry] [rendered] [0] ./.test/typeSystemWatch/app.ts 239 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.js index f3291ec5a..c31f7c4a5 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.js +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.transpiled.js index b5f26bdb6..459e2656f 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.transpiled.js +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.transpiled.txt index 7a067a214..9422b78c5 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.transpiled.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch0/output.transpiled.txt @@ -1,4 +1,4 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.9 kB 0 [emitted] main chunk {0} bundle.js (main) 239 bytes [entry] [rendered] [0] ./.test/typeSystemWatch/app.ts 239 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.js index f3291ec5a..c31f7c4a5 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.js +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.transpiled.js b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.transpiled.js index b5f26bdb6..459e2656f 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.transpiled.js +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/bundle.transpiled.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.transpiled.txt b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.transpiled.txt index 7a067a214..9422b78c5 100644 --- a/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.transpiled.txt +++ b/test/comparison-tests/typeSystemWatch/expectedOutput-2.2/patch1/output.transpiled.txt @@ -1,4 +1,4 @@ - Asset Size Chunks Chunk Names -bundle.js 2.89 kB 0 [emitted] main + Asset Size Chunks Chunk Names +bundle.js 2.9 kB 0 [emitted] main chunk {0} bundle.js (main) 239 bytes [entry] [rendered] [0] ./.test/typeSystemWatch/app.ts 239 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/bundle.js b/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/bundle.js index 5d40c725b..a05d34c12 100644 --- a/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/bundle.js +++ b/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/bundle.js @@ -6,9 +6,9 @@ /******/ function __webpack_require__(moduleId) { /******/ /******/ // Check if module is in cache -/******/ if(installedModules[moduleId]) +/******/ if(installedModules[moduleId]) { /******/ return installedModules[moduleId].exports; -/******/ +/******/ } /******/ // Create a new module (and put it into the cache) /******/ var module = installedModules[moduleId] = { /******/ i: moduleId, diff --git a/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.transpiled.txt b/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.transpiled.txt index 97317e615..73eefd3e1 100644 --- a/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.transpiled.txt +++ b/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.transpiled.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main +bundle.js 2.89 kB 0 [emitted] main chunk {0} bundle.js (main) 166 bytes [entry] [rendered] [0] ./.test/visualStudioErrorFormat/common/components/myComponent.ts 46 bytes {0} [built] [1] ./.test/visualStudioErrorFormat/app.ts 120 bytes {0} [built] \ No newline at end of file diff --git a/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.txt b/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.txt index 83f4dbc87..bcffc5c3c 100644 --- a/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.txt +++ b/test/comparison-tests/visualStudioErrorFormat/expectedOutput-2.2/output.txt @@ -1,5 +1,5 @@ Asset Size Chunks Chunk Names -bundle.js 2.88 kB 0 [emitted] main +bundle.js 2.89 kB 0 [emitted] main chunk {0} bundle.js (main) 166 bytes [entry] [rendered] [0] ./.test/visualStudioErrorFormat/common/components/myComponent.ts 46 bytes {0} [built] [1] ./.test/visualStudioErrorFormat/app.ts 120 bytes {0} [built] [1 error]